crane/gcrane: add pages (#13853)

This commit is contained in:
Rover van der Noort
2024-10-03 11:48:34 +02:00
committed by GitHub
parent 0327318dc0
commit 0bf92baea5
32 changed files with 699 additions and 0 deletions

29
pages/common/crane.md Normal file
View File

@@ -0,0 +1,29 @@
# crane
> Container images managing tool.
> Some subcommands such as `pull`, `push`, `copy`, etc. have their own usage documentation.
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane.md/>.
- Execute a `crane` subcommand:
`crane {{subcommand}}`
- Allow pushing non-distributable (foreign) layers:
`crane --allow-nondistributable-artifacts {{subcommand}}`
- Allow image references to be fetched without TLS:
`crane --insecure {{subcommand}}`
- Specify the platform in the form os/arch{{/variant}}{{:osversion}} (e.g. linux/amd64). (default all):
`crane --platform {{platform}} {{subcommand}}`
- Enable debug logs for a subcommand:
`crane {{-v|--verbose}} {{subcommand}}`
- Display help for a subcommand:
`crane {{-h|--help}} {{subcommand}}`