LinuxCommandLibrary

crane-digest

retrieve image content digest

TLDR

Get the digest of an image
$ crane digest [image:tag]
copy
Get digest for specific platform
$ crane digest --platform [linux/amd64] [image:tag]
copy

SYNOPSIS

crane digest [options] image

DESCRIPTION

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

PARAMETERS

--platform platform

Get digest for specific platform.
--full-ref
Print the full image reference with digest.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard