32 lines
1.0 KiB
Markdown
Raw Normal View History

# gcrane
> Container images managing tool.
> This tool implements a superset of the `crane` commands, with additional commands that are specific to `gcr.io`.
> Some subcommands such as `append`, `auth`, `copy`, etc. have their own usage documentation which can be found under `crane`.
> Some subcommands such as `completion`, `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]}}`