Docker Community Forums

Share and learn in the Docker community.

Docker build failing to connect to registry.io


(George Owen) #1

Running Docker toolbox on Windows 10.

$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
default * virtualbox Running tcp://192.168.99.100:2376 v17.09.1-ce

$ docker version
Client:
Version: 17.10.0-ce
API version: 1.32 (downgraded from 1.33)
Go version: go1.8.3
Git commit: f4ffd25
Built: Tue Oct 17 19:00:02 2017
OS/Arch: windows/amd64

Server:
Version: 17.09.1-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: 19e2cf6
Built: Thu Dec 7 22:28:28 2017
OS/Arch: linux/amd64
Experimental: false

Builds fail:

$ docker build -t wwbpcluster.icp:8500/default/hello-world:helm .
Sending build context to Docker daemon 18.43kB
Step 1/7 : FROM node:6
Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: no such host

Have seen other similar issues, but not clear why this 10.* address. Something in my Docker config?


(Werner Dijkerman) #2

It seems that host on which you are executing the docker build command is not to resolve the registry-1.docker.io host? If you do a ping, do you get a correct reply?