Docker系列---【国内镜像仓库加速地址】
1.修改daemon.json
vi /etc/docker/daemon.json
#下面内容添加进去
{
"registry-mirrors": [
"https://hub.uuuadc.top",
"https://docker.anyhub.us.kg",
"https://dockerhub.jobcher.com",
"https://dockerhub.icu",
"https://docker.ckyl.me",
"https://docker.awsl9527.cn"
]
}
2.重新加载配置
systemctl daemon-reload
3.重启docker
systemctl restart docker
愿你走出半生,归来仍是少年!