sudo docker run hello-world
解决办法
systemctl stop docker
echo "DOCKER_OPTS=\"\$DOCKER_OPTS --registry-mirror=http://f2d6cb40.m.daocloud.io\"" | sudo tee -a /etc/default/docker
service docker restart
最后感谢该以下提供的资料,我实践了,是可以的
https://blog.csdn.net/sfdst/article/details/69336273