Docker拉取镜像超时解决办法
Posted 程序员超时空
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Docker拉取镜像超时解决办法相关的知识,希望对你有一定的参考价值。
1、编辑Docker配置文件
nano /etc/docker/daemon.json
2、加入以下镜像源
https://registry.docker-cn.com
https://docker.mirrors.ustc.edu.cn
https://hub-mirror.c.163.com
http://f1361db2.m.daocloud.io
具体配置
"registry-mirrors": ["https://registry.docker-cn.com","https://docker.mirrors.ustc.edu.cn","https://hub-mirror.c.163.com","http://f1361db2.m.daocloud.io"]
3、效果如下图所示
4、重启Docker
systemctl daemon-reload
systemctl restart docker
以上是关于Docker拉取镜像超时解决办法的主要内容,如果未能解决你的问题,请参考以下文章