Docker Community Forums

Share and learn in the Docker community.

Error when trying to docker login fails on Windows 10 Home

Hello, I’m having problems logging into my Docker Hub account on my Windows 10 Home laptop.

I’ve just downloaded and installed Docker Desktop version 3.1.0 without any problems. I was able to push 3 images and run them. However when I try to login into my account on a PowerShell terminal with the docker login command I’m getting an error:

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)

How do I solve this issue? I can login to Docker Desktop app with the same credentials without any problems, it is just when I try to do it with PowerShell or Windows Terminal running Ubuntu when it does not login.

I’m on my home network, without any proxies running.