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