Use your own success, hereby record
Source: https://blog.csdn.net/qq_33575129/article/details/78196279
Modify /etc/docker/daemon.json
file and add a registry-mirrors key.
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}
After the restart Docker save changes to the configuration.