.nh .TH OCI-IMAGE-TOOL-VALIDATE(1) OCI Image Tool User Manuals OCI Community JULY 2016 .SH NAME .PP oci-image-tool validate - Validate one or more image files .SH SYNOPSIS .PP \fBoci-image-tool validate\fP FILE... [OPTIONS] .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=[] Specify the search criteria for the validated reference, format is A=B. Reference should point to a manifest or index. e.g. --ref name=v1.0 --ref platform.os=latest Only support \fB\fCname\fR, \fB\fCplatform.os\fR and \fB\fCdigest\fR three cases. Only applicable if type is image. .PP \fB--type\fP="" Type of the file to validate. One of "image,manifest,imageIndex,config" .SH EXAMPLES .PP .RS .nf $ skopeo copy docker://busybox oci:busybox-oci:latest $ oci-image-tool validate --type image --ref name=latest busybox-oci busybox-oci: OK .fi .RE .SH SEE ALSO .PP \fBskopeo\fP(1) .SH HISTORY .PP Sept 2016, Originally compiled by Antonio Murdaca (runcom at redhat dot com)