docker拉取镜像失败,报错:error pulling image configuration: download failed after attempts=6: dial tcp 118.193.240.41:443: connect: connection refused
解决方案:
vim /etc/docker/daemon.json
替换为:
{
"registry-mirrors": [
"https://registry.docker-cn.com",
"https://docker.mirrors.ustc.edu.cn",
"https://hub-mirror.c.163.com",
"https://hub.uuuadc.top",
"https://docker.anyhub.us.kg",
"https://dockerhub.jobcher.com",
"https://dockerhub.icu",
"https://docker.ckyl.me",
"https://docker.awsl9527.cn",
"https://mirror.baidubce.com"
]
}