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

crane tag — Efficiently tag a remote image without downloading it, which differs from the `copy` command. It ski

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandcrane tagwithoutcliimageefficientlytagremote

Problem

How to use the crane tag command: 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>.

Solution

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]}}

Code Snippets

Tag remote image

crane tag {{image_name}} {{tag_name}}

Display help

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

Context

tldr-pages: common/crane tag

Revisions (0)

No revisions yet.