CmdID

CmdID / Commands

gcrane

Container images managing tool. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

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 passwordIdentify

List tags, manifests, and sub-repositories

gcrane ls registry/project_idIdentify

Copy images from one registry to another

gcrane cp --recursive source_registry/project_id/repository target_registry/project_id/repositoryIdentify

Print images that can be garbage collected

gcrane gc registry/project_id/repositoryIdentify

Delete images that can be garbage collected

gcrane gc registry/project_id/repository | xargs --max-args 1 gcrane deleteIdentify

List a specific registry with specific ID

gcrane ls gcr.io/my-project-idIdentify

Migrate all images from US registry to EU registry

gcrane cp --recursive gcr.io/my-project-id/repository eu.gcr.io/my-project-id/repositoryIdentify