文章目录
- 个人GitHub仓库地址
- 镜像源地址
Docker拉取失败,利用github将镜像推送到阿里云
docker_image_pusher
hub-mirror仓库
1、windows没有升级,用不了WSL。可以使用wsl,配合docker desktop直接拉取镜像,windows10安装WSL2及使用
2、开启安全surf the internet
工具 ,在hub.docker.com上搜索到想要的镜像,向这个hub-mirror仓库提交issue:https://github.com/togettoyou/hub-mirror/issues/3048。【可以直接fork这个项目,然后按照项目的操作步骤配置Actions,然后提交Issues将镜像推送到自己的阿里云镜像仓库】
个人GitHub仓库地址
镜像源地址
{"registry-mirrors":["https://docker.1panel.live","https://sr9fq5pc.mirror.aliyuncs.com","https://hub-mirror.c.163.com","https://mirror.baidubce.com","https://ccr.ccs.tencentyun.com","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","https://hub.uuuadc.top","https://hub.rat.dev","https://docker.anyhub.us.kg","https://docker.chenby.cn","https://dockerhub.jobcher.com","https://dockerhub.icu","https://docker.ckyl.me","https://docker.awsl9527.cn","https://docker.hpcloud.cloud","https://atomhub.openatom.cn"]
}
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{"registry-mirrors": ["https://sr9fq5pc.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker