镜像加速说明

为了加速镜像拉取,使用以下命令设置registry mirror


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

用法:

原拉取镜像命令:


docker pull library/alpine:latest

加速拉取镜像命令:


docker pull docker.avj.asia/library/alpine:latest

支持以下镜像仓库加速



gcr: "https://gcr.io" 
k8sgcr: "https://k8s.gcr.io" 
quay: "https://quay.io" 
ghcr.io: "https://ghcr.io"