% OCI-IMAGE-TOOL-VALIDATE(1) OCI Image Tool User Manuals % OCI Community % JULY 2016
oci-image-tool validate - Validate one or more image files
oci-image-tool validate FILE... [OPTIONS]
oci-image-tool validate
validates the given file(s) against the OCI image specification.
--help Print usage statement
--ref=[]
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 name
, platform.os
and digest
three cases.
Only applicable if type is image.
--type="" Type of the file to validate. One of "image,manifest,imageIndex,config"
$ skopeo copy docker://busybox oci:busybox-oci:latest
$ oci-image-tool validate --type image --ref name=latest busybox-oci
busybox-oci: OK
skopeo(1)
Sept 2016, Originally compiled by Antonio Murdaca (runcom at redhat dot com)