配置Docker镜像源

配置Docker镜像源

1、打开或创建daemon.json文件

shell 复制代码
/etc/docker/daemon.json

2、在daemon.json文件中写入下面的内容

json 复制代码
{
  "registry-mirrors": [
    "https://docker.anyhub.us.kg/"
	,"https://hub.uuuadc.top/"
	,"https://dockerhub.jobcher.com/"
	,"https://dockerhub.icu/"
	,"https://docker.ckyl.me/"
	,"https://docker.awsl9527.cn/"
	,"https://q7ta64ip.mirror.aliyuncs.com"
	,"https://hx983jf6.mirror.aliyuncs.com"
	,"https://docker.mirrors.ustc.edu.cn"
	,"https://hub-mirror.c.163.com"
	,"https://docker.m.daocloud.io"
	,"https://mirror.baidubce.com"
	,"https://docker.nju.edu.cn"
	,"https://jockerhub.com"
	,"https://dockerhub.azk8s.cn"
	,"https://dockerproxy.com"
	,"https://mirror.baidubce.com"
	,"https://docker.nju.edu.cn"
	,"https://mirror.iscas.ac.cn"
	,"https://dockerpull.org",
    "https://docker.1panel.dev",
    "https://docker.fxxk.dedyn.io",
    "https://docker.xn--6oq72ry9d5zx.cn",
    "https://docker.zhai.cm",
    "https://docker.5z5f.com",
    "https://a.ussh.net",
    "https://docker.cloudlayer.icu",
    "https://hub.littlediary.cn",
    "https://hub.crdz.gq",
    "https://docker.unsee.tech",
    "https://docker.kejilion.pro",
    "https://registry.dockermirror.com",
    "https://hub.rat.dev",
    "https://dhub.kubesre.xyz",
    "https://docker.nastool.de",
    "https://docker.udayun.com",
    "https://docker.rainbond.cc",
    "https://hub.geekery.cn",
    "https://docker.1panelproxy.com",
    "https://atomhub.openatom.cn",
    "https://docker.m.daocloud.io"
  ]
}

3、让配置生效

shell 复制代码
systemctl daemon-reload
systemctl restart docker
相关推荐
杨浦老苏20 小时前
家庭实验室监控仪表盘HomeLab-Monitor
运维·docker·监控·群晖
回忆2012初秋20 小时前
【Nginx】原理、配置与运维实战(2)
运维·nginx·策略模式
Urbano21 小时前
工装外套全制作流程、工序痛点及自动化设备升级方案
运维·自动化
映翰通朱工21 小时前
工业4G网关无公网IP远程运维实战(内网终端异地访问方案)
运维·服务器·网络·安全·智能路由器
洪晓露1 天前
将 rke2 集群证书延长至 10 年
运维·服务器·数据库
谢平康1 天前
解决用 rm 报bash: /usr/bin/rm: Argument list too long错
linux·运维·运维开发
IP老炮不瞎唠1 天前
Python 价格监控如何实现?思路与实用方法分享
运维·服务器·网络
GIS数据转换器1 天前
城市排水生命线安全运行监测平台深度解析
java·运维·人工智能·python·安全·数据挖掘·无人机
Tokai_Teio_11 天前
第四届黄河流域 misc
运维·服务器
开发者联盟league1 天前
使用k8s安装Sonarqube
云原生·容器·kubernetes