Expected behavior
Attempting to run the command ‘docker run hello-world’ when image does not exist locally should download image from docker.io and run the container.
Actual behavior
Command results in the following output:
Unable to find image ‘hello-world:latest’ locally
Pulling repository docker.io/library/hello-world
docker: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy…
See ‘docker run --help’.
Information
-
Log output (I’m pretty sure this is the relevant part):
[18:17:19.160][ApiProxy ][Info ] Search for dns server…
[18:17:19.165][ApiProxy ][Info ] 1.1.168.192.in-addr.arpa
[18:17:19.170][ApiProxy ][Info ] primary name server = localhost
[18:17:19.175][ApiProxy ][Info ] responsible mail addr = nobody.invalid
[18:17:19.180][ApiProxy ][Info ] serial = 1
[18:17:19.184][ApiProxy ][Info ] refresh = 600 (10 mins)
[18:17:19.189][ApiProxy ][Info ] retry = 1200 (20 mins)
[18:17:19.195][ApiProxy ][Info ] expire = 604800 (7 days)
[18:17:19.201][ApiProxy ][Info ] default TTL = 10800 (3 hours)
[18:17:19.207][ApiProxy ][Info ] Server: UnKnown
[18:17:19.211][ApiProxy ][Info ] Address: 192.168.1.1
[18:17:19.215][ApiProxy ][Info ]
[18:17:19.221][ApiProxy ][Info ]
[18:17:19.225][ApiProxy ][Info ] Fetch error: Unable to find name server -
Docker Version Info:
Client:
Version: 1.12.0
API version: 1.24
Go version: go1.6.3
Git commit: 8eab29e
Built: Thu Jul 28 21:15:28 2016
OS/Arch: windows/amd64
Server:
Version: 1.12.0
API version: 1.24
Go version: go1.6.3
Git commit: 8eab29e
Built: Thu Jul 28 21:15:28 2016
OS/Arch: linux/amd64
- Windows 10 Anniversary Edition (build 14393)
Steps to reproduce the behavior
- Install Docker for Windows
- Run command ‘docker run hello-world’
Please note that I’ve looked at similar threads on the forums, and have tried every solution suggested, to no avail. I have tried:
- Setting the Settings > Network > DNS Server setting from Automatic to Fixed, pointing to 8.8.8.8.
- Disabling IPv6 on the vEthernet (DockerNAT) virtual Ethernet adapter (note that if I reset docker, this gets reset as well)
- Setting the IPv4 DNS on the vEthernet (DockerNAT) virtual Ethernet adapter to fixed addresses of 8.8.8.8 and 8.8.4.4.
- etc.
I was briefly able to get connectivity at one point, but not clear on what worked, and it only worked long enough for me to get some containers set up via a yaml file. Unfortunately, even after that, I could not communicate from my host network to the containers, so I tried uninstalling and reinstalling, and I’m back to square one.
Here’s the various dialogs for the adapter (sorry for the combo image, but the forums won’t let me post more than one image as a newbie).
Note the ‘No network access’ in the Status dialog. I have no idea if this is normal or not.
All of the images are how things were configured by the Docker for Windows install, with no manual changes made.
Would be really great if someone with a working networking setup could take a look and see what’s different between my settings and yours.
Thanks!