Docker Error response from daemon read: connection refused
在搜索镜像的时候出现这个问题,记录一下,后续待查证[root@www ~]# docker search tomcatError response from daemon: Get https://index.docker.io/v1/search?q=tomcat&n=25: dial tcp: lookup index.docker.io on [::1]:53: read ud...
·
在搜索镜像的时候出现这个问题,记录一下,后续待查证
[root@www ~]# docker search tomcat
Error response from daemon: Get https://index.docker.io/v1/search?q=tomcat&n=25: dial tcp: lookup index.docker.io on [::1]:53: read udp [::1]:48007->[::1]:53: read: connection refused
虚拟机中添加一个DNS解析,解决问题
vim /etc/resolv.conf
添加一行:
nameserver 114.114.114.114
更多推荐
已为社区贡献1条内容
所有评论(0)