国内Docker换源

 echo >/etc/docker/daemon.json


cat>/etc/docker/daemon.json <<END
{
"registry-mirrors": [
"https://hub-mirror.c.163.com",
"https://ustc-edu-cn.mirror.aliyuncs.com",
"https://ghcr.io",
"https://mirror.baidubce.com"
]
}
END


systemctl restart docker

评论

热门博文