一份目前能用的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

亲测好使:)

相关推荐
吕了了1 分钟前
87 Windows 系统安装的本质是什么?
运维·windows·电脑·系统
阿里巴巴P8资深技术专家1 小时前
docker容器启动报错
运维·docker·容器
杨云龙UP1 小时前
MySQL 8.0.x InnoDB 写入链路优化:Redo Log 与 Buffer Pool 扩容与缓冲区调优实战记录-20251029
linux·运维·数据库·sql·mysql
txzz88882 小时前
CentOS-Stream-10 系统安装之网络设置
linux·运维·服务器·网络·计算机网络·centos
qq_401700412 小时前
嵌入式Linux网口MAC地址修改
linux·运维·macos
秋刀鱼 ..3 小时前
第三届信息化教育与计算机技术国际学术会议(IECA 2026)
运维·人工智能·科技·机器学习·制造
我是谁??3 小时前
Linux上检查U盘可读和修复
linux·运维·服务器
杰克逊的日记3 小时前
怎么排查pod重启
linux·运维·服务器
追逐梦想永不停4 小时前
Permission denied (publickey,gssapi-keyex,gssapi-with-mic) 完整避坑总结
运维
KingRumn4 小时前
Linux进程间通信之共享内存与消息队列的竞争问题(同步策略)对比
linux·运维·服务器