赞
踩
一: linux 增加了镜像
[root@linux ~]# cat /etc/docker/daemon.json
{
"registry-mirrors": ["https://registry.cn-hangzhou.aliyuncs.com",
"https://registry.docker-cn.com",
"https://s3d6l2fh.mirror.aliyuncs.com" ]
}
二: 配置了dns
[root@lunux ~]# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 8.8.4.4
三: 重启docker
systemctl restart docker
systemctl daemon-reload
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。