.TH "OCI" "1" " OCI-IMAGE-TOOL User Manuals" "OCI Community" "JULY 2016" .nh .ad l .SH NAME .PP oci\-image\-tool\-validate \- Validate one or more image files .SH SYNOPSIS .PP \fBoci\-image\-tool validate\fP FILE... [flags] .SH DESCRIPTION .PP \fB\fCoci\-image\-tool validate\fR validates the given file(s) against the OCI image specification. .SH OPTIONS .PP \fB\-\-help\fP Print usage statement .PP \fB\-\-ref\fP NAME The reference to validate (should point to a manifest). Can be specified multiple times to validate multiple references. \fB\fCNAME\fR must be present in the \fB\fCrefs\fR subdirectory of the image. Defaults to \fB\fCv1.0\fR\&. Only applicable if type is image or imageLayout. .PP \fB\-\-type\fP Type of the file to validate. If unset, oci\-image\-tool will try to auto\-detect the type. One of "imageLayout,image,manifest,manifestList,config" .SH EXAMPLES .PP .RS .nf $ skopeo copy docker://busybox oci:busybox\-oci $ oci\-image\-tool validate \-\-type imageLayout \-\-ref latest busybox\-oci busybox\-oci: OK .fi .RE .SH SEE ALSO .PP \fBoci\-image\-tool\fP(1), \fBskopeo\fP(1) .SH HISTORY .PP July 2016, Originally compiled by Antonio Murdaca (runcom at redhat dot com)