2024-10-03 11:48:34 +02:00
|
|
|
# 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:
|
|
|
|
|
2024-10-16 03:14:30 +02:00
|
|
|
`gcrane {{-v|--verbose}} {{subcommand}}`
|
2024-10-03 11:48:34 +02:00
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`gcrane {{-h|--help}}`
|