Home containerd导入本地镜像的一个小坑
Post
Cancel

containerd导入本地镜像的一个小坑

containerd 命令行工具为 ctr

本地镜像导入命令:

1
ctr image import <path/to/image/file>

注意:当tar包没有tag信息时,导入之后,无报错,errno 为0,但是 通过 ctr images ls 查看却没有相关的镜像。这种情况,需要添加 --digests=true 来导入:

1
ctr image import --digests=true <path/to/images/file>
This post is licensed under CC BY 4.0 by the author.

昔日博客传送门

jekyll post page 生成脚本

Comments powered by Disqus.