整理
站点整理
之前用的daemon.json,现更改镜像加速地址
vim /etc/docker/daemon.json
{
"registry-mirrors": [
"https://4xgbe4ey.mirror.aliyuncs.com",
"https://registry.docker-cn.com",
"https://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn",
"https://daocloud.io",
"https://docker.m.daocloud.io"
],
"exec-opts":["native.cgroupdriver=systemd"],
"max-concurrent-downloads":10,
"max-concurrent-uploads":5,
"log-opts":[
"max-size":"300m",
"max-file":"3"
]
"live-restore":true
}
替换自己的docker加速器daemon.json前面加https://
源站 替换
cr.l5d.io l5d.m.daocloud.io
docker.elastic.co elastic.m.daocloud.io
docker.io docker.m.daocloud.io
gcr.io gcr.m.daocloud.io
ghcr.io ghcr.m.daocloud.io
k8s.gcr.io k8s-gcr.m.daocloud.io
registry.k8s.io k8s.m.daocloud.io
mcr.microsoft.com mcr.m.daocloud.io
nvcr.io nvcr.m.daocloud.io
quay.io quay.m.daocloud.io
registry,jujucharms.com jujucharms.m.daocloud.io
rocks.canonical.com rocks-canonical.m.daocloud.io