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)

I have this error in my home everythink is ok and when i move the server to my company i got this error. We no have proxy , i configured the DNS to 8.8.8.8 and 8.8.4.4,: Docker run on Debian server with static IP . Inertnet on server works only dont can pull any image because i got 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) thanks for help.

Where did you configure it? If your company does not allow external DNS like 8.8.8.8 then you get the exact error message. Try to configure a local DNS server.

i config in resolv.conf and yes i have configured local dns