dockerhub 官网和国内大厂源被封后解决方案

效率工具 qmt 36℃

其实也很简单,替换到一些第三方的源就可以了。

本文列出一些目前能够使用的第三方源

加速地址 说明
https://docker.m.daocloud.io DaoCloud 驱动
https://dockerpull.com Docker Proxy 驱动
https://atomhub.openatom.cn AtomHub 提供,仅有基础镜像
https://docker.1panel.live 1panel 驱动
https://dockerhub.jobcher.com 打工人日报驱动
https://hub.rat.dev 耗子面板驱动
https://docker.registry.cyou bestcfipas 驱动
https://docker.awsl9527.cn zeruns 驱动
https://do.nark.eu.org
https://docker.ckyl.me
https://hub.uuuadc.top
https://docker.chenby.cn
https://docker.ckyl.me

替换方式:
编辑文件:
/etc/docker/daemon.json

{
    "registry-mirrors": ["https://xxx.xxx"]
}

把https://xxx.xxx 替换成第三方的源就可以了,比如替换成

{
    "registry-mirrors": ["https://do.nark.eu.org", "https://docker.ckyl.me"]
}

然后重启docker:

systemctl daemon-reload
systemctl restart docker

就可以了。

转载请注明:QMT|Ptrade量化交易 » dockerhub 官网和国内大厂源被封后解决方案

喜欢 (0)