Docker 镜像加速服务

你的专属加速地址: https://docker.unwilling.work

1. 配置 Docker Daemon


sudo tee /etc/docker/daemon.json <<EOF
{
    "registry-mirrors": ["https://docker.unwilling.work"]
}
EOF

sudo systemctl daemon-reload

sudo systemctl restart docker

用法:

原拉取镜像命令:


docker pull library/alpine:latest

加速拉取镜像命令:


docker pull docker.unwilling.work/library/alpine:latest