docker报错:
error pulling image configuration: download failed after attempts=6: dial tcp 108.160.170.39:443: connect: connection refused出这个错误就是你源有问题
编辑Docker配置文件: 打开或创建 /etc/docker/daemon.json 文件
{
"registry-mirrors": [
"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"
]
}
重启Docker服务: 为使配置生效,请执行以下命令:
sudo systemctl daemon-reload
sudo systemctl restart docker
标签:cn,mirrors,sudo,拉取,换源,https,edu,-----,docker
From: https://www.cnblogs.com/zmh520/p/18392247