Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io...i/o timeout

4/8/2020

I was trying to pull an image from docker.io, but I'm getting this error, recently I have changed my DNS I'm not sure is that the reason...I executed minikube ssh and I executed docker pull then I got this error

Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: read udp 10.0.2.15:32905->10.0.2.3:53: i/o timeout

My Env -: Docker version -: 19.03.1 minikube version -: 1.2.0 ubuntu version -: 18.04

This is my resolv.conf.d --> head file content

nameserver 192.xxx.1x8.x

-- uvindu sri
docker
kubernetes
minikube
ubuntu-18.04

1 Answer

4/9/2020

I was able to fix this by changing the DNS to 8.8.8.8

-- uvindu sri
Source: StackOverflow