Docker Community Forums

Share and learn in the Docker community.

Beginner network issue

I am very new to Docker and am following this tutorial to get familiar with it. I keep getting an error message when running docker run hello-world The error message is:

Unable to find image 'hello-world:latest' locally
Pulling repository docker.io/library/hello-world
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error while pulling image: Get https://index.docker.io/v1/repositories/library/hello-world/images: dial tcp: lookup index.docker.io on 10.0.75.1:53: no such host.
See 'C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.

I found this in the docker documentation (thank you StackOverflow). The documentation states:

As an immediate workaround to this problem, reset the DNS server to use the Google DNS fixed address: 8.8.8.8 . You can configure this through the Settings

Where I am getting hung up is that I cannot determine where to find “the Settings” pane mentioned in the documentation. I have looked in both my Docker Hub account & Docker Desktop for Mac.

The workaround is for Windows, since I am on a Mac that would explain why I am not seeing a DNS option within Settings. How do I resolve the error I am getting on a Mac?