In the / etc / docker edit or add daemon.json add the following:
we /etc/docker/daemon.json
{
"registry-mirrors": ["https://123abc.mirror.aliyuncs.com"]
}
systemctl daemon-reload
systemctl restart docker
Reference Links: https://www.cnblogs.com/hackyo/p/9613465.html