赞
踩
首先要设置国内的镜像源
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json<<-'EOF
{
"registry-mirrors":[
"https://ox288s4f.mirror.aliyuncs.com"
"https://registry.docker-cn.com"
"http://hub-mirror.c.163.com"
"https://mirror.ccs.tencentyun.com'
]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
或者
sudo service docker restart
按照这三步执行完以后等待docker重启完再拉取就好了
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。