Files
cheatsheet-tldr/tldr/crane-ls
2024-10-04 00:17:00 +00:00

26 lines
464 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`