Linux command
crane-manifest 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Get image manifest
crane manifest [image:tag]
Get manifest for specific platform
crane manifest --platform [linux/amd64] [image:tag]
Pretty print manifest
crane manifest [image] | jq .
说明
crane manifest retrieves the manifest for a container image. The manifest describes the image's layers, configuration, and platform information. Output is in JSON format (OCI or Docker manifest schema).
参数
- --platform _platform_
- Specifies the platform in the form os/arch/variant:osversion (e.g. linux/amd64). Default: all.
- --insecure
- Allow image references to be fetched without TLS.
- -v, --verbose
- Enable debug logs.
FAQ
What is the crane-manifest command used for?
crane manifest retrieves the manifest for a container image. The manifest describes the image's layers, configuration, and platform information. Output is in JSON format (OCI or Docker manifest schema).
How do I run a basic crane-manifest example?
Run `crane manifest [image:tag]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --platform _platform_ do in crane-manifest?
Specifies the platform in the form os/arch/variant:osversion (e.g. linux/amd64). Default: all.