Azure / cli

Automate your GitHub workflows using Azure CLI scripts
MIT License
124 stars 54 forks source link

Error response from daemon: Get "https://mcr.microsoft.com/v2/": net/http: request canceled #168

Open dhawalseth opened 1 week ago

dhawalseth commented 1 week ago

Is it possible to have retries or increase the timeout value or make it configurable to avoid running into this issue?

Run linkedin-actions/azure-cli@v1
97Starting script execution via docker image mcr.microsoft.com/azure-cli:latest
98Error: Error: Unable to find image 'mcr.microsoft.com/azure-cli:latest' locally
99docker: Error response from daemon: Get "https://mcr.microsoft.com/v2/": net/http: request canceled (Client.Timeout exceeded while awaiting headers).
100See 'docker run --help'.
101
102cleaning up container...
103Warning: Error response from daemon: No such container: MICROSOFT_AZURE_CLI_1724104133315_CONTAINER
104
105Error: Unable to find image 'mcr.microsoft.com/azure-cli:latest' locally
106docker: Error response from daemon: Get "https://mcr.microsoft.com/v2/": net/http: request canceled (Client.Timeout exceeded while awaiting headers).
107See 'docker run --help'.
MoChilia commented 1 week ago

Hi @dhawalseth, the issue might be related to your host's proxy settings. You can try the solutions mentioned in these posts: