gcrane-copy
copies container images between registries
TLDR
SYNOPSIS
gcrane copy [options] src dst
DESCRIPTION
gcrane copy copies container images between registries, supporting both single images and repository-wide operations. It handles multi-architecture images and maintains all image metadata during transfer.The command can copy individual tagged images or use the -r flag to recursively copy all tags and sub-repositories. Platform filtering allows selective copying for specific architectures. Parallel job execution speeds up bulk copy operations. gcrane copy is commonly used for backup, geo-replication between regions or projects, and promoting images from staging to production registries.gcrane extends crane with Google Container Registry and Artifact Registry specific features such as recursive repository copy.
PARAMETERS
-r, --recursive
Recursively copy repositories (copy all tags and sub-repositories).--platform platform
Platform to copy (e.g., linux/amd64). Use `all` to copy all platforms.--jobs num
Number of parallel copy jobs.--allow-nondistributable-artifacts
Allow pushing non-distributable (foreign) layers.--insecure
Allow image references to be fetched without TLS.
SEE ALSO
gcrane(1), crane-copy(1)
