

免费资源网 – https://freexyz.cn/
因为国内的网络访问问题,拉取镜像会响应超时,因此需要更换国内的镜像源。
网易:
http://hub-mirror.c.163.comustc:
https://docker.mirrors.ustc.edu.cn中国科技大学:
https://docker.mirrors.ustc.edu.cn阿里云:
https://cr.console.aliyun.com/腾讯云:
https://mirror.ccs.tencentyun.com创建或修改 /etc/docker/daemon.json 文件
vi /etc/docker/daemon.json将文件的内容改为以下内容:
{ “registry-mirrors” : [ “http://hub-mirror.c.163.com”, “https://docker.mirrors.ustc.edu.cn”, “https://cr.console.aliyun.com”, “https://mirror.ccs.tencentyun.com” ] }重启docker
systemctl restart docker查看docker镜像源
docker info信息修改后则完成
总结
© 版权声明
THE END
暂无评论内容