Files
cheatsheet-tldr/tldr/crane-ls
2025-03-09 00:16:26 +00:00

26 lines
468 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]}}`