Linux Docker配置镜像加速
Docker配置常用镜像加速地址包含阿里、腾讯、百度、网易
1. 编辑docke配置文件
vim /etc/docker/daemon.json
写入以下内容
{
"registry-mirrors": [
"https://docker.mirrors.aliyuncs.com",
"https://registry.docker-cn.com",
"https://mirror.ccs.tencentyun.com",
"http://hub-mirror.c.163.com",
"https://ommju0xg.mirror.aliyuncs.com",
"https://docker.registry.cyou",
"https://docker-cf.registry.cyou",
"https://dockercf.jsdelivr.fyi",
"https://docker.jsdelivr.fyi",
"https://dockertest.jsdelivr.fyi",
"https://mirror.aliyuncs.com",
"https://dockerproxy.com",
"https://mirror.baidubce.com",
"https://docker.m.daocloud.io",
"https://docker.nju.edu.cn",
"https://docker.mirrors.sjtug.sjtu.edu.cn",
"https://docker.mirrors.ustc.edu.cn",
"https://mirror.iscas.ac.cn",
"https://docker.rainbond.cc"
]
}
2. 重启docker
sudo systemctl daemon-reload
sudo systemctl restart docker
原文地址:https://blog.csdn.net/weixin_42703501/article/details/143086480
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!