背景
error pulling image configuration: download failed after attempts=6: dial tcp 64.13.192.74:443: i/o timeout
$\quad$一般来说这种问题都是docker拉取镜像的过程中,镜像源为默认源。修改一下即可。
docker 安装教程
1.创建/etc/docker目录
sudo mkdir -p /etc/docker
2.创建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
3.重启
sudo systemctl daemon-reload
sudo systemctl restart docker
或者
sudo service docker restart