方法一:设置 registry mirror
sudo tee /etc/docker/daemon.json <<EOF
{
"registry-mirrors": ["https://nano.cloudns.be"]
}
EOF
方法二:手动拉取 (即镜像前加上域名 nano.cloudns.be )
docker pull nano.cloudns.be/library/alpine:latest # 拉取 library 镜像
docker pull nano.cloudns.be/coredns/coredns:latest # 拉取 coredns 镜像