镜像加速说明

为了加速镜像拉取,使用以下命令配置docker代理镜像(永久生效):


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

sudo systemctl daemon-reload && sudo systemctl restart docker


临时使用:

原拉取镜像命令:


docker pull library/alpine:latest

加速拉取镜像命令:


docker pull dr.yxee.ee/library/alpine:latest
代码获取 | 捐赠本站