Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pages/common/crane-copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
- Copy an image from source to target:

`crane copy {{source}} {{target}}`
`crane {{[cp|copy]}} {{source}} {{target}}`

- Copy all tags:

`crane copy {{source}} {{target}} {{[-a|--all-tags]}}`
`crane {{[cp|copy]}} {{source}} {{target}} {{[-a|--all-tags]}}`

- Set the maximum number of concurrent copies, defaults to GOMAXPROCS:

`crane copy {{source}} {{target}} {{[-j|--jobs]}} {{int}}`
`crane {{[cp|copy]}} {{source}} {{target}} {{[-j|--jobs]}} {{int}}`

- Avoid overwriting existing tags in target:

`crane copy {{source}} {{target}} {{[-n|--no-clobber]}}`
`crane {{[cp|copy]}} {{source}} {{target}} {{[-n|--no-clobber]}}`

- Display help:

`crane copy {{[-h|--help]}}`
`crane {{[cp|copy]}} {{[-h|--help]}}`
2 changes: 1 addition & 1 deletion pages/common/crane.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

- Efficiently copy a remote image from `src` to `dst` while retaining the digest value:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Efficiently copy a remote image from `src` to `dst` while retaining the digest value:
- Efficiently copy a remote image while retaining the digest value:

Copy link
Member Author

@Managor Managor Dec 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh damn, I didn't notice the description. Are src and dst valid names for source and destination? At least the documentation seems to treat them as placeholders judging by the all caps SRC and DST.
Giving a ping to @rvandernoort


`crane copy src dst {{[-a|--all-tags]}}`
`crane {{[cp|copy]}} {{source}} {{destination}} {{[-a|--all-tags]}}`

- Delete an image reference from its registry:

Expand Down
Loading