1
resposta

Erro docker run hello-world

Quando tento executar o comando "docker run hello-world" é apresentada a mensagem de erro abaixo, acredito que seja algo relacionado com o proxy da empresa em que trabalho. Sabe informar onde configuro o proxy para o docker obter acesso à internet ?

docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).

1 resposta

Execute no PowerShell

[Environment]::SetEnvironmentVariable("HTTP_PROXY", "http://username:password@proxy:port/", [EnvironmentVariableTarget]::Machine)