1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/gcrane.md

32 lines
1 KiB
Markdown
Raw Normal View History

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