自学内容网 自学内容网

dockerpull

20241006更新,亲测可用。
注意:这个方法随时可能会失效。

编辑配置文件,修改镜像源:
vi /etc/docker/daemon.json

{
 "registry-mirrors": [
   "https://do.nark.eu.org",
   "https://dc.j8.work",
   "https://docker.m.daocloud.io",
   "https://dockerproxy.com",
   "https://docker.mirrors.ustc.edu.cn",
   "https://docker.nju.edu.cn"
 ]
}

修改以后重启:

systemctl daemon-reload
systemctl restart docker.service

在这里插入图片描述


原文地址:https://blog.csdn.net/weixin_52236586/article/details/142726761

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!