- 修改配置
vi /etc/docker/daemon.json
{
"registry-mirrors": [
"https://hub-mirror.c.163.com",
"https://mirror.baidubce.com"
]
}
- 重启docker
systemctl daemon-reload
systemctl restart docker
{
"registry-mirrors": [
"https://hub-mirror.c.163.com",
"https://mirror.baidubce.com"
]
}
systemctl daemon-reload
systemctl restart docker
本文标题:docker镜像加速器
本文链接:https://www.haomeiwen.com/subject/jtaxsdtx.html
网友评论