HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

crane ls — List the tags in a repository. More information: <https://github.com/google/go-containerregistry/blo

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandtagscrane lsclimorelistrepository

Problem

How to use the crane ls command: List the tags in a repository. More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_ls.md>.

Solution

crane ls — List the tags in a repository. More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_ls.md>.

List the tags:
crane ls {{repository}}


Print the full image reference:
crane ls {{repository}} --full-ref


Omit digest tags:
crane ls {{[-o|--omit-digest-tags]}}


Display help:
crane ls {{[-h|--help]}}

Code Snippets

List the tags

crane ls {{repository}}

Print the full image reference

crane ls {{repository}} --full-ref

Omit digest tags

crane ls {{[-o|--omit-digest-tags]}}

Display help

crane ls {{[-h|--help]}}

Context

tldr-pages: common/crane ls

Revisions (0)

No revisions yet.