新版镜像加速器
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