1. Editing
vi /etc/docker/daemon.json
2. Update the source and save
"registry-mirrors":["https://xxxxx.mirror.aliyuncs.com","http://mirrors.ustc.edu.cn/","http://hub-mirror.c.163.com","https://registry.docker-cn.com"]
3. Restart docker
systemctl restart docker