镜像使用说明

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

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

使用如下命令刷新docker:

sudo systemctl daemon-reload # 强制 systemd 重新读取配置文件
sudo systemctl restart docker # 重新启动 docker 服务

为了避免 Worker 用量耗尽,你可以手动 pull 镜像然后 re-tag 之后 push 至本地镜像仓库:

docker pull docker.238989.xyz/library/alpine:latest # 拉取 library 镜像
docker pull docker.238989.xyz/coredns/coredns:latest # 拉取 coredns 镜像