bash
error pulling image configuration: download failed after attempts=6: dial tcp 31.13.94.10:443: i/o timeout
首先设置国内的镜像源:复制下面直接执行
bash
sudo mkdir -p /etc/docker
bash
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
bash
sudo systemctl daemon-reload
sudo systemctl restart docker
或者
sudo service docker restart
再拉取就快了