containerd导入本地镜像的一个小坑
containerd 命令行工具为 ctr
本地镜像导入命令:
ctr image import <path/to/image/file>
注意:当tar包没有tag信息时,导入之后,无报错,errno 为0,但是 通过 ctr images ls 查看却没有相关的镜像。这种情况,需要添加 --digests=true 来导入:
ctr image import --digests=true <path/to/images/file>
同步自 hxysayhi
本文来自博客园,作者:hxysayhi,转载请注明原文链接:https://www.cnblogs.com/hxysayhi/p/15934110.html
做一个优秀的普通人
个人博客:hxysayhi

浙公网安备 33010602011771号