Docker镜像加速站

参考:https://zhuanlan.zhihu.com/p/704119891

Docker镜像加速站

为了加速镜像拉取,使用以下命令设置registry mirror 支持系统:Ubuntu 16.04+、Debian 8+、CentOS 7+

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<EOF
{
    "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"
    ]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

 

posted @ 2024-06-19 15:01  威尔逊不背锅  阅读(72)  评论(0)    收藏  举报