docker纠错:
error pulling image configuration: download failed after attempts=6: dial tcp 108.160.166.42:443: connect: connection refused. See ‘docker run --help’
出这个错误,就是你的源有问题,改为以下:
输入以下指令即可:
tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": [
"https://rfye13je.mirror.aliyuncs.com",
"https://do.nark.eu.org",
"https://dc.j8.work",
"https://docker.m.daocloud.io",
"https://dockerproxy.com",
"https://docker.mirrors.ustc.edu.cn",
"https://docker.nju.edu.cn"
]
}
EOF
systemctl daemon-reload
systemctl restart docker