Docker国内映射镜像仓库
在/etc/docker 目录下创建 daemon.json文件,配置 registry-mirrors 属性
# vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://docker.m.daocloud.io", "https://dockerproxy.com", "https://docker.mirrors.ustc.edu.cn",
"https://docker.nju.edu.cn", "https://docker.hpcloud.cloud",
"https://docker.m.daocloud.io",
"https://docker.unsee.tech",
"https://docker.1panel.live",
"http://mirrors.ustc.edu.cn",
"https://docker.chenby.cn",
"http://mirror.azure.cn",
"https://dockerpull.org",
"https://dockerhub.icu",
"https://hub.rat.dev"],
"log-driver":"json-file",
"log-opts": {"max-size":"1g", "max-file":"3"},
"insecure-registries": ["xxx.xx.xx.xxx:5000"],
"live-restore": true,
"exec-opts": ["native.cgroupdriver=systemd"]
}
浙公网安备 33010602011771号