Docker Hub 镜像加速器

发布于 2025-07-21  1 次阅读


创建或修改 /etc/docker/daemon.json


sudo mkdir -p /etc/docker

sudo tee /etc/docker/daemon.json <<-'EOF'
{
    "registry-mirrors": [
        "https://docker.m.daocloud.io"
    ]
}
EOF

sudo systemctl daemon-reload

sudo systemctl restart docker

引自:https://gist.github.com/y0ngb1n/7e8f16af3242c7815e7ca2f0833d3ea6

希望赤诚善良的人,能被世界温柔以待
最后更新于 2025-07-21