Docker Community Forums

Share and learn in the Docker community.

Docker for windows 10 - can't pull any docker images

I am using Docker for windows 10 on my laptop connected to work using VPN. I have the latest docker version. I have virtualization enabled on my laptop.

when I try to pull any docker image I get this error. Can’t we create docker images/pull docker images from docker hub if the laptop is connecting using VPN?

Unable to find image ‘hello-world:latest’ locally
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’.
PS C:\WINDOWS\system32>

Thank You
basam nath

Were you able to resolve this? Experiencing the same problem when connected to my company’s VPN.

For anyone else that may stumble upon this problem. My fix ended up being a simple one. I didn’t realize I needed to setup Proxies manually in the Docker Desktop UI so that the Docker daemon would have the same proxy settings I was using for my company when on the VPN. I had the config in the client cli I was using, but that wasn’t altering the daemon and I did not understand that at the time.