Docker Community Forums

Share and learn in the Docker community.

Docker run hello-world results in an i/o timeout


(Stitchdad) #1

Hi there,

I’m new to the latest versions of docker and have been attempting to run through the tutorials. However, I can’t seem to get past the very first step: “docker run hello-world”. I’ve searched and found many people have had this issue, but haven’t found a definitive solution or at least a solution that will work for me. I’ve also tried “docker login”. I’ve tried resetting to “factory defaults”. All to avail. I’ve tried the Diagnose item and it response with all green OKs. I’ve restarted Docker for Mac and I’ve tried a “docker-machine restart”. The defects I’ve found on github seem to be closed and yet it’s still an issue. Is there any fix?

Issue type: Error

$ docker run hello-world
Unable to find image ‘hello-world:latest’ locally
docker: Error response from daemon: Get XXX//registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: read udp 192.168.65.2:56060->192.168.65.1:53: i/o timeout.
See ‘docker run --help’.

$ docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don’t have a Docker ID, head over to XXX//hub.docker.com to create one.
Username:
Password:
Error response from daemon: Get XXX//registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: read udp 192.168.65.2:60958->192.168.65.1:53: i/o timeout

OS Version/build:

System Version: macOS 10.12.3 (16D32)
Kernel Version: Darwin 16.4.0

App version:

$ docker version
Client:
Version: 1.13.1
API version: 1.26
Go version: go1.7.5
Git commit: 092cba3
Built: Wed Feb 8 08:47:51 2017
OS/Arch: darwin/amd64

Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Go version: go1.7.5
Git commit: 092cba3
Built: Wed Feb 8 08:47:51 2017
OS/Arch: linux/amd64
Experimental: true

Steps to reproduce:

  1. Install latest version of Docker for Mac
  2. $ docker run hello-world OR $ docker login

Thanks for the help.

Note: I changed https: to XXX in the messages above as I’m a new user of the forums and it was reading those as links. As a new user I’m only allowed 2 links apparently.


(Anandaseifu) #2

I am in the same position with this topic (High Sierra and the latest Docker - 18.03.1-ce)… came across this entry (Docker pull results in getsockopt: connection refused) and tried from a different network ad it went flawlessly. Possible firewall or proxy blocking access on original network