新版镜像加速器

vim /etc/docker/daemon.json

{
"insecure-registries": ["192.168.88.134","lab.example.com"],
"registry-mirrors": [
"http://hub-mirror.c.163.com",
"https://docker.1panelproxy.com",
"https://docker-proxy.741001.xyz",
"https://registry.docker-cn.com",
"https://docker.anyhub.us.kg",
"https://dockerhub.jobcher.com",
"https://dockerhub.icu",
"https://docker.awsl9527.cn"
],
"exec-opts": ["native.cgroupdriver=systemd"]
}

 systemctl daemon-reload

    systemctl restart docker 

测试:

  docker pull busybox

 

posted @ 2024-11-04 23:11  cloud-qing0212  阅读(31)  评论(0编辑  收藏  举报