1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/crane-tag.md

14 lines
431 B
Markdown
Raw Normal View History

2024-10-03 11:48:34 +02:00
# crane tag
> Efficiently tag a remote image without downloading it, which differs from the `copy` command.
> It skips the layer existence checks because we know the manifest already exists making it slightly faster.
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_tag.md>.
- Tag remote image:
`crane tag {{image_name}} {{tag_name}}`
- Display help:
`crane tag {{-h|--help}}`