本服务为 Docker Hub 提供代理加速,仅限中国大陆用户使用 docker pull 命令。
将以下内容添加到 Docker 配置文件 /etc/docker/daemon.json 中:
{
"registry-mirrors": ["https://proxydo.worldacc.org"]
}
然后重启 Docker 服务:
sudo systemctl daemon-reload sudo systemctl restart docker
如果不想配置镜像加速器,也可以在拉取镜像时添加前缀:
docker pull https://proxydo.worldacc.org/library/nginx:alpine
官方镜像需在名称前加上 library/,例如:
docker pull https://proxydo.worldacc.org/library/ubuntu:22.04