注册阿里云账户
打开控制台--容器镜像服务
找到镜像加速器
配置docker加速器
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
标签:教程,sudo,etc,加速器,镜像,docker
From: https://www.cnblogs.com/my_captain/p/16659952.html