修改镜像源
~# containerd config default > /etc/containerd/config.toml
~# sed -i "s#k8s.gcr.io/pause#registry.aliyuncs.com/google_containers/pause#g" /etc/containerd/config.toml
镜像加速
#在此行下面加两行
[plugins."io.containerd.grpc.v1.cri".registry.mirrors]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
endpoint = ["https://registry.aliyuncs.com"]
设置cgroup驱动
~# sed -i 's#SystemdCgroup = false#SystemdCgroup = true#g' /etc/containerd/config.toml
标签:containerd,配置,etc,toml,registry,io,config From: https://www.cnblogs.com/wangguishe/p/16778909.html