展开

containerd配置国内镜像源及使用私有镜像仓库

最后发布时间 : 2023-11-27 20:19:30 浏览量 :

https://huaweicloud.csdn.net/63561b93d3efff3090b5a85f.html

cat /etc/docker/daemon.json

{
 "exec-opts": ["native.cgroupdriver=systemd"],
  "data-root": "/ssd2/docker",
  "registry-mirrors": ["https://registry.hub.docker.com","http://hub-mirror.c.163.com","https://docker.mirrors.ustc.edu.cn","https://registry.docker-cn.com"],
  "insecure-registries": ["master:5000"]
}