gcrane Command Examples
Container images managing tool. This tool implements a superset of the
crane
commands, with additional commands that are specific togcr.io
. Some subcommands such asappend
,auth
,copy
, etc. have their own usage documentation which can be found undercrane
. Some subcommands such ascompletion
,gc
,help
are specific to gcrane and have their own usage documentation. More information: https://github.com/google/go-containerregistry/blob/main/cmd/gcrane/README.md.
- Execute a
gcrane
subcommand:
gcrane {{subcommand}}
- Allow pushing non-distributable (foreign) layers:
gcrane --allow-nondistributable-artifacts {{subcommand}}
- Allow image references to be fetched without TLS:
gcrane --insecure {{subcommand}}
- Specify the platform in the form os/arch{{/variant}}{{:osversion}} (e.g. linux/amd64). (default all):
gcrane --platform {{platform}} {{subcommand}}
- Enable debug logs:
gcrane {{-v|--verbose}} {{subcommand}}
- Display help:
gcrane {{-h|--help}}