Cannot download Docker image from repository
Just stop and restart your docker host:
boot2docker stopboot2docker start
Credits to: https://forums.docker.com/t/pulling-docker-images-i-o-timeout/740/6
Updated for modern times:
docker-machine stop defaultdocker-machine start default
(docker-machine restart default
doesn't fix it).
This error message:
- lookup index.docker.io on 127.0.1.1:53: read udp 127.0.1.1:53: i/o timeout
tells that connection to local dns server (127.0.1.1:53) ends with timeout.
I guess this issue is connected with network/dns configuration on virtual machine.