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

committed by
GitHub

parent
0327318dc0
commit
0bf92baea5
24
pages/common/crane-validate.md
Normal file
24
pages/common/crane-validate.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# crane validate
|
||||
|
||||
> Validate that an image is well-formed.
|
||||
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_validate.md>.
|
||||
|
||||
- Validate an image:
|
||||
|
||||
`crane validate`
|
||||
|
||||
- Skip downloading/digesting layers:
|
||||
|
||||
`crane validate --fast`
|
||||
|
||||
- Name of remote image to validate:
|
||||
|
||||
`crane validate --remote {{image_name}}`
|
||||
|
||||
- Path to tarball to validate:
|
||||
|
||||
`crane validate --tarball {{path/to/tarball}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`crane validate {{-h|--help}}`
|
Reference in New Issue
Block a user