如何检查图像在容器中表现出来?
在Docker中,我们可以用来
docker manifest inspect
检查图像清单。
对于nerdctl和ctr \ crictl,没有明显的相关命令。
NERDCTL图像检查仅显示有关图像的一些基本信息。
In docker, we can use
docker manifest inspect
to check the image manifest.
For nerdctl and ctr\crictl, there is no manifest related commands.
nerdctl image inspect only shows some basic information about the image.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
nerdctl Inspect
检查图像的sha,您可以直接转到
/var/lib/containerd/io.container.container.content.content.content.v1.content/ blobs/sha256/
在您的节点上找到清单。nerdctl inspect
To summarize, you can go direct to
/var/lib/containerd/io.containerd.content.v1.content/blobs/sha256/
to find the manifest on your node.