@starshat 在 docker配置镜像加速但还是拉不下来的问题 中发帖
求佬赐教
我配置了镜像加速器,但好像没有生效
[root@k8s-master01 ~]# docker --version
Docker version 28.4.0, build d8eb465
[root@k8s-master01 ~]# cat /etc/docker/daemon.json
{
"registry-mirrors": ["https://registry.***.com"]
}
[root@k8s-master01 ~]# systemctl restart docker
然后我尝试pull失败,好像没有用配置的mirror,
[root@k8s-master01 ~]# docker pull nginx:stable
Error response from daemon: Get "https://registry-1.docker.io/v2...