crane/gcrane: add pages (#13853)
This commit is contained in:

committed by
GitHub

parent
0327318dc0
commit
0bf92baea5
29
pages/common/crane.md
Normal file
29
pages/common/crane.md
Normal 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}}`
|
Reference in New Issue
Block a user