LinuxCommandLibrary

crane-copy

copy container images between registries

TLDR

Copy an image between registries

$ crane copy [source_image] [destination_image]
copy
Copy with all tags
$ crane copy --all-tags [source_repo] [destination_repo]
copy
Copy specific platform
$ crane copy --platform [linux/amd64] [source] [destination]
copy

SYNOPSIS

crane copy [options] source destination

DESCRIPTION

crane copy copies container images between registries without pulling to local storage. This is more efficient than docker pull/push as it transfers directly between registries.

PARAMETERS

-a, --all-tags

Copy all tags from source repository.
--platform platform
Copy only specific platform (e.g., linux/amd64).
-n, --no-clobber
Don't overwrite existing tags.

SEE ALSO

crane(1), crane-cp(1), skopeo(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community