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

亲测好使:)

相关推荐
小生迷途知返几秒前
影响巨大!Linux 提权大洞速速复现!!!暂无补
linux·运维·服务器
FreeBuf_20 分钟前
Claude Mythos Preview 实现自动化漏洞研究突破,可构建PoC漏洞利用链
运维·自动化
风静如云29 分钟前
VMware:下载
运维
IMPYLH41 分钟前
Linux 的 wc 命令
linux·运维·服务器·前端·bash
ElevenS_it1881 小时前
Redis监控实战:内存使用+命中率+连接数三类核心指标接入Zabbix+分级告警完整配置方案
运维·网络·redis·mybatis·zabbix
zxy6444924731 小时前
Centos7.9编译安装PHP7.4
linux·运维·服务器
无限进步_1 小时前
【Linux】从冯诺依曼到操作系统:理解计算机运行的基本脉络
linux·运维·服务器
Rabbit_QL1 小时前
【ln -s】Linux 软链接在大模型部署中的应用
linux·运维·服务器
Waay1 小时前
图文详解|K8s Pod内部结构
docker·云原生·kubernetes
LT10157974442 小时前
2026年超自动化平台选型指南:全流程智能协同适配
运维·人工智能·自动化