您可以通过修改daemon配置文件/etc/docker/daemon.json来使用加速器
命令:
1.sudo mkdir -p /etc/docker
2.sudo tee /etc/docker/daemon.json <<-'EOF'
{ "registry-mirrors": ["https://8mae0prx.mirror.aliyuncs.com"] }
EOF
3.sudo systemctl daemon-reload
4.sudo systemctl restart docker
参考文献
镜像加速器
https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors