Docker Community Forums

Share and learn in the Docker community.

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)


(Krikri90) #1

Hi All,

I am getting below error if I run “run” and “pull” command in docker. I have tried changing DNS settings to 8.8.8.8 and also tried adding manual proxy settings in Docker but the issue is not fixed. Help on it would be highly appreciated.

Docker Version - 17.06.0-ce, build 02c1d87
OS - Windows 10 64Bit Enterprise

C:\Program Files\Docker\Docker\Resources\bin\docker.exe: 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).
See ‘C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help’.


(Krikri90) #2

Keep DNS settings as automatic and change proxy as http:username:password@proxy:port/

Password should be URL encoded

It will fix the issue if u are running behind company proxy