← 返回命令列表

Linux command

crane-validate 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Validate an image

crane validate --remote [image:tag]

Validate local tarball

crane validate --tarball [image.tar]

说明

crane validate checks that a container image is well-formed. It verifies manifest structure, layer digests, and configuration validity.

参数

--remote _image_
Validate a remote image.
--tarball _file_
Validate a local tarball.

FAQ

What is the crane-validate command used for?

crane validate checks that a container image is well-formed. It verifies manifest structure, layer digests, and configuration validity.

How do I run a basic crane-validate example?

Run `crane validate --remote [image:tag]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --remote _image_ do in crane-validate?

Validate a remote image.