添加公开的docker加速代理(可能会失效):
vim /etc/docker/daemon.json
{"registry-mirrors":["https://docker.mirrors.sjtug.sjtu.edu.cn","https://docker.m.daocloud.io","https://noohub.ru","https://huecker.io","https://dockerhub.timeweb.cloud", "https://registry.cn-hangzhou.aliyuncs.com"]}
重新加载配置文件
systemctl daemon-reload
重启Docker服务
systemctl restart docker