Docker Community Forums

Share and learn in the Docker community.

No such host when pulling docker image from registry or doing docker login

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID: E209C6A4-9449-4323-AB40-EFAAB00AE4C2/20190806072257

Expected behavior

Pull images correctly without any error

Actual behavior

I get an error trying to pull images from registry. For example running docker run hello-world like Getting Started docs say returns the following:

PS C:\Users\Maicol> docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
1b930d010525: Pulling fs layer                                                                                          D:\Program Files\Docker\Docker\Resources\bin\docker.exe: error pulling image configuration: Get dial tcp: lookup on no such host.
See 'D:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.


  • Windows Version: 10
  • Docker Desktop Version: 2.1

Steps to reproduce the behavior

  1. Follow docs steps (

With this part of the error message

it looks like your workstation has configured as it’s DNS server, and that server can’t/won’t find the actual IP address for the Docker Hub, which is also known as

Whomever maintains can have a look at their server, and perhaps tell you more about why that might happen.

It seems that is my router IP but to log in into it I have to type the address… What can I do?