NAME 名称

podman-manifest-annotate - Add and update information about an image or artifact in a manifest list or image index
podman-manifest-annotate - 在清单列表或镜像索引中添加和更新有关图像或工件的信息

SYNOPSIS 概要

podman manifest annotate [options] listnameorindexname imagemanifestdigestorimageorartifactname

DESCRIPTION 描述

Adds or updates information about an image or artifact included in a manifest list or image index.
在清单列表或镜像索引中添加或更新有关包含的图像或工件的信息

OPTIONS 选项

--annotation=annotation=value
--annotation=注释=值 ¶

Set an annotation on the entry for the specified image or artifact.
在指定的图像或工件条目上设置注释。

If --index is also specified, sets the annotation on the entire image index.
如果还指定了 --index,则在整个图像索引上设置注释。

--arch=architecture

Override the architecture which the list or index records as a requirement for the image. This is usually automatically retrieved from the image’s configuration information, so it is rarely necessary to use this option.
覆盖列表或索引记录的体系结构,作为图像要求的一部分。这通常会自动从图像的配置信息中检索,因此很少需要使用此选项。

--features=feature --features=特性 ¶

Specify the features list which the list or index records as requirements for the image. This option is rarely used.
指定要求图像的特性列表,该列表或索引记录为图像的要求。此选项很少使用。

--index

Treats arguments to the --annotation option as annotation values to be set on the image index itself rather than on an entry in the image index. Implied for --subject.
将 --annotation 选项的参数视为要设置在图像索引本身上而不是图像索引条目上的注释值。对于 --subject 是隐含的。

--os=OS --os=操作系统 ¶

Override the OS which the list or index records as a requirement for the image. This is usually automatically retrieved from the image’s configuration information, so it is rarely necessary to use this option.
覆盖列表或索引记录的作为图像要求的操作系统。通常会自动从图像的配置信息中检索到,因此很少需要使用此选项。

--os-features=feature

Specify the OS features list which the list or index records as requirements for the image. This option is rarely used.
指定将列表或索引记录为镜像要求的操作系统功能列表。此选项很少被使用。

--os-version=version --os-version=版本 ¶

Specify the OS version which the list or index records as a requirement for the image. This option is rarely used.
指定列表或索引记录为图像要求的操作系统版本。此选项很少使用。

--subject=imageName

Set the subject field in the image index to mark the image index as being associated with the specified image in some way. An image index can only be associated with, at most, one subject.
设置图像索引中的主题字段,以标记图像索引与某种方式关联的指定图像。图像索引只能与最多一个主题关联。

--variant --变体 ¶

Specify the variant which the list or index records for the image. This option is typically used to distinguish between multiple entries which share the same architecture value, but which expect different versions of its instruction set.
指定列表或索引记录图像的变体。此选项通常用于区分共享相同架构值但期望其指令集的不同版本的多个条目。

EXAMPLE 例子 ¶

Update arch and variant information to specified manifest list for image:
更新图像的架构和变体信息以符合指定的清单列表

podman manifest annotate --arch arm64 --variant v8 mylist:v1.11 sha256:59eec8837a4d942cc19a52b8c09ea75121acc38114a2c68b98983ce9356b8610
07ec8dc22b5dba3a33c60b68bce28bbd2b905e383fdb32a90708fa5eeac13a07: sha256:59eec8837a4d942cc19a52b8c09ea75121acc38114a2c68b98983ce9356b8610

SEE ALSO 参见 ¶

podman(1), podman-manifest(1)