gcrane
Container images managing tool. tldr-pages
On several platforms
Several platforms
Container images managing tool. This tool implements a superset of the crane commands, with additional commands that are specific to Google Container Registry (gcr.io). Some subcommands such as copy, gc, help, ls, etc. have their own usage documentation.
Log in to a registry
gcrane auth login registry --username user --password passwordIdentifyList tags, manifests, and sub-repositories
gcrane ls registry/project_idIdentifyCopy images from one registry to another
gcrane cp --recursive source_registry/project_id/repository target_registry/project_id/repositoryIdentifyPrint images that can be garbage collected
gcrane gc registry/project_id/repositoryIdentifyDelete images that can be garbage collected
gcrane gc registry/project_id/repository | xargs --max-args 1 gcrane deleteIdentifyList a specific registry with specific ID
gcrane ls gcr.io/my-project-idIdentifyMigrate all images from US registry to EU registry
gcrane cp --recursive gcr.io/my-project-id/repository eu.gcr.io/my-project-id/repositoryIdentify