| 1 | % OCI(1) OCI-IMAGE-VALIDATE User Manuals |
| 2 | % OCI Community |
| 3 | % JULY 2016 |
| 4 | # NAME |
| 5 | oci-image-validate \- Validate one or more image files |
| 6 | |
| 7 | # SYNOPSIS |
| 8 | **oci-image-validate** FILE... [flags] |
| 9 | **oci-image-validate** [--help|-v|--version] |
| 10 | |
| 11 | # DESCRIPTION |
| 12 | `oci-image-validate` validates the given file(s) against the OCI image specification. |
| 13 | |
| 14 | |
| 15 | # FLAGS |
| 16 | **--help** |
| 17 | Print usage statement |
| 18 | |
| 19 | **--ref**=[] |
| 20 | The reference to validate (should point to a manifest). |
| 21 | Can be specified multiple times to validate multiple references. |
| 22 | `NAME` must be present in the `refs` subdirectory of the image. |
| 23 | Only applicable if type is image or imageLayout. |
| 24 | |
| 25 | **--type**="" |
| 26 | Type of the file to validate. If unset, oci-image-validate will try to auto-detect the type. One of "imageLayout,image,manifest,manifestList,config" |
| 27 | |
| 28 | **-v**, **--version** |
| 29 | Print version information and exit. |
| 30 | |
| 31 | # EXAMPLES |
| 32 | ``` |
| 33 | $ skopeo copy docker://busybox oci:busybox-oci |
| 34 | $ oci-image-validate --type imageLayout --ref latest busybox-oci |
| 35 | busybox-oci: OK |
| 36 | ``` |
| 37 | |
| 38 | # SEE ALSO |
| 39 | **skopeo**(1) |
| 40 | |
| 41 | # HISTORY |
| 42 | Sept 2016, Originally compiled by Antonio Murdaca (runcom at redhat dot com) |