来自守护程序的错误响应:获取https://registry-1.docker.io/v2/:拨打tcp:查找注册表-1.docker.io ... i/o超时 [英] Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io...i/o timeout
问题描述
我试图从docker.io中提取图像,但出现此错误,最近我更改了DNS,我不确定这是因为...我执行了minikube ssh
,而我执行了docker pull
然后出现此错误
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
我的环境-: Docker版本-:19.03.1 minikube版本-:1.2.0 ubuntu版本-:18.04
My Env -: Docker version -: 19.03.1 minikube version -: 1.2.0 ubuntu version -: 18.04
这是我的resolv.conf.d->头文件内容
This is my resolv.conf.d --> head file content
名称服务器192.xxx.1x8.x
nameserver 192.xxx.1x8.x
推荐答案
我能够通过将DNS更改为8.8.8.8来解决此问题
I was able to fix this by changing the DNS to 8.8.8.8
这篇关于来自守护程序的错误响应:获取https://registry-1.docker.io/v2/:拨打tcp:查找注册表-1.docker.io ... i/o超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!