镜像加速说明
为了加速镜像拉取,你可以使用以下命令设置registery mirror:
sudo tee /etc/docker/daemon.json <<EOF
{
"registry-mirrors": ["https://registry-1.docker.io.tdp.plus"]
}
EOF
为了避免 Worker 用量耗尽,你可以手动 pull 镜像然后 re-tag 之后 push 至本地镜像仓库:
docker pull registry-1.docker.io.tdp.plus/library/alpine:latest # 拉取 library 镜像
docker pull registry-1.docker.io.tdp.plus/coredns/coredns:latest # 拉取 library 镜像