1 Star 0 Fork 0

czh / image-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
oci-image-tool-validate.1.md 1009 Bytes
一键复制 编辑 原始数据 按行查看 历史

% OCI-IMAGE-TOOL-VALIDATE(1) OCI Image Tool User Manuals % OCI Community % JULY 2016

NAME

oci-image-tool validate - Validate one or more image files

SYNOPSIS

oci-image-tool validate FILE... [OPTIONS]

DESCRIPTION

oci-image-tool validate validates the given file(s) against the OCI image specification.

OPTIONS

--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"

EXAMPLES

$ skopeo copy docker://busybox oci:busybox-oci:latest
$ oci-image-tool validate --type image --ref name=latest busybox-oci
busybox-oci: OK

SEE ALSO

skopeo(1)

HISTORY

Sept 2016, Originally compiled by Antonio Murdaca (runcom at redhat dot com)

1
https://gitee.com/chenzehan/image-tools.git
git@gitee.com:chenzehan/image-tools.git
chenzehan
image-tools
image-tools
master

搜索帮助