k8s查看镜像内容的方法

 

查看

使用ctr工具在namespace下查看镜像名称

ctr ns list

ctr -n k8s.io images ls  |grep ingress-nginx

 

挂载

ctr -n k8s.io images mount registry.k8s.io/ingress-nginx/controller@sha256:e6b8de175acda6ca913891f0f727bca4527e797d52688cbe9fec9040d6f6b6fa mount

 

卸载

ctr -n k8s.io images umount mount 

 

posted on 2025-02-27 15:36  toong  阅读(251)  评论(0)    收藏  举报