其他分享
首页 > 其他分享> > Rancher入门到精通-Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup regi

Rancher入门到精通-Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup regi

作者:互联网

Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: dial udp [::1]:53: socket: address family not supported by protocol
 

# 修改 docker 镜像下载路径

vim /etc/docker/daemon.json
{
  "registry-mirrors": ["https://fy707np5.mirror.aliyuncs.com"]
}

[root@rancher-server ~]# systemctl daemon-reload
[root@rancher-server ~]# systemctl restart docker

标签:daemon,https,Get,dial,registry,io,regi,docker
来源: https://blog.csdn.net/wxb880114/article/details/98782726