mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
63 lines
2.1 KiB
Markdown
63 lines
2.1 KiB
Markdown
% podman-manifest-annotate 1
|
|
|
|
## NAME
|
|
podman\-manifest\-annotate - Add and update information about an image or artifact in a manifest list or image index
|
|
|
|
## 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
|
|
|
|
@@option annotation.manifest
|
|
If **--index** is also specified, sets the annotation on the entire image 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.
|
|
|
|
@@option features
|
|
|
|
#### **--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**.
|
|
|
|
#### **--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.
|
|
|
|
@@option os-version
|
|
|
|
#### **--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.
|
|
|
|
@@option variant.manifest
|
|
|
|
## 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.1.md)**, **[podman-manifest(1)](podman-manifest.1.md)**
|