← 返回命令列表

Linux command

crane-digest 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Get the digest

crane digest [image:tag]

Get digest for specific platform

crane digest --platform [linux/amd64] [image:tag]

说明

crane digest retrieves the content-addressable digest (SHA256) of a container image. The digest uniquely identifies the image content regardless of tag.

参数

--platform _platform_
Get digest for specific platform.
--full-ref
Print the full image reference with digest.
--tarball _path_
Path to tarball containing the image.

FAQ

What is the crane-digest command used for?

crane digest retrieves the content-addressable digest (SHA256) of a container image. The digest uniquely identifies the image content regardless of tag.

How do I run a basic crane-digest example?

Run `crane digest [image:tag]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --platform _platform_ do in crane-digest?

Get digest for specific platform.