关上 vim /etc/docker/daemon.json(若没有自行创立)

{    "registry-mirrors":["https://docker.mirrors.ustc.edu.cn"]}

重启一下docker

systemctl restart docker