一份目前能用的docker镜像源配置

网上找到如下几个目前还能用的镜像源。如果你在拉取镜像过程中报错,不妨试试。

配置方法:需要在/etc/docker/daemon.json中配置registry-mirrors,如果没这个文件,可以直接使用如下命令新增一个该文件并配置registry-mirrors。

复制代码
cat <<EOF | sudo tee /etc/docker/daemon.json
{
    "registry-mirrors": [
        "https://ustc-edu-cn.mirror.aliyuncs.com/",
        "https://ccr.ccs.tencentyun.com/",
        "https://docker.m.daocloud.io/",
  "https://dockerhub.azk8s.cn",
  "https://mirror.baidubce.com",
  "https://docker.nju.edu.cn",
  "https://mirror.iscas.ac.cn",
  "https://dockerhub.icu",
  "https://docker.anyhub.us.kg",
  "https://hub.gog.email",
  "https://dockerpull.com",
  "https://atomhub.openatom.cn" 
    ]
}
EOF

同时配置完成之后要重启docker daem。如下命令:

复制代码
sudo systemctl enable docker
sudo systemctl daemon-reload
sudo systemctl restart docker

亲测好使:)

相关推荐
哲Zheᗜe༘1 分钟前
学习K8S-Deployment资源对象
docker·容器·kubernetes
生活爱好者!4 分钟前
【影视项目】NAS 部署稳定视频订阅源咪咕
服务器·网络·docker·容器·音视频
骥龙14 分钟前
5.14、AI安全运维体系:构建企业级的“安全超脑”
运维·人工智能·安全
源梦想17 分钟前
机甲恐龙动作冒险网页小游戏Linux部署教程
linux·运维·服务器
该用户已不存在24 分钟前
Let’s Encrypt 证书有效期将缩至 45 天,运维天都塌了
运维·https·自动化运维
robin591127 分钟前
容器-PUSH镜像卡住问题排查
容器·golang·kubernetes
yiyeguzhou10033 分钟前
论文解读:Overcoming the IOTLB wall for multi-100-Gbps Linux-based networking
linux·运维·服务器
国家不保护废物37 分钟前
RAG + Agent + Prompt工程中
docker·llm·aigc
妄想出头的工业炼药师1 小时前
cuda如何安装卸载
linux·运维·服务器
泡沫·1 小时前
3.sed 使用手册
运维