docker拉取镜像时报错:error pulling image configuration: download failed after attempts=6: dial tcp 162.125.18.133:443: i/o timeout
解决办法
1.输入下面命令,编辑文件
vim /etc/docker/daemon.json
{
“registry-mirrors”:[
“https://docker.mirrors.ustc.edu.cn”,
“https://i1el1i0w.mirror.aliyuncs.com”,
“https://hub-mirror.c.163.com”,
“https://registry.aliyuncs.com”,
“https://registry.docker-cn.com”
]
}
2.重启docker服务
重启守护进程 :service daemon-reload
重启docker服务 :service restart docker