-
Go to dev.aliyun.com to create an account
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["阿里云会给一个属于你的加速地址"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
You can directly copy and run these commands
3. You can find a Registry Mirrors through docker info to see if the configuration of Alibaba Cloud is configured