当前位置: 首页> 房产> 建筑 > k3s failed to get sandbox image \“rancher/mirrored-pause 3:6

k3s failed to get sandbox image \“rancher/mirrored-pause 3:6

时间:2025/7/10 9:20:31来源:https://blog.csdn.net/fuckingone/article/details/141531765 浏览次数:0次

下载了k3s,用sudo systemctl status k3s命令,报错Failed to create sandbox for pod" err="rpc error: code = DeadlineExceeded desc = failed to get sandbox image \"rancher/mirrored-p

看着是网络问题,拉取不到镜像。

K3s 会在/var/lib/rancher/k3s/agent/etc/containerd/config.toml中为 containerd 生成 config.toml

cd /var/lib/rancher/k3s/agent/etc/containerd/,进入这个文件目录,

vim config.toml可以看这个配置文件。

看到有的解决方法是配置这个文件,但是我没用,试了下面这个可以。

crictl pull registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.6
ctr -n k8s.io i tag registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.6 k8s.gcr.io/pause:3.6

关键字:k3s failed to get sandbox image \“rancher/mirrored-pause 3:6

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: