NAME 名称

podman-manifest-create - Create a manifest list or image index
podman-manifest-create - 创建清单列表或镜像索引

SYNOPSIS 概要

podman manifest create [options] listnameorindexname [imagename …]
podman manifest create [选项] listnameorindexname [imagename …]

DESCRIPTION 描述

Creates a new manifest list and stores it as an image in local storage using the specified name.
使用指定的名称创建新的清单列表,并将其存储为图像在本地存储中。

If additional images are specified, they are added to the newly-created list or index.
如果指定了额外的图像,则将它们添加到新创建的列表或索引中。

OPTIONS 选项

--all

If any of the images added to the new list or index are themselves lists or indexes, add all of their contents. By default, only one image from such a list is added to the newly-created list or index.
如果添加到新列表或索引的任何图像本身是列表或索引,则添加它们的所有内容。默认情况下,只会将此类列表中的一个图像添加到新创建的列表或索引中。

--amend, -a --amend,-a ¶

If a manifest list named listnameorindexname already exists, modify the preexisting list instead of exiting with an error. The contents of listnameorindexname are not modified if no imagenames are given.
如果名为 listnameorindexname 的清单列表已经存在,则修改现有列表而不是出现错误退出。如果没有给出 imagenames,则不会修改 listnameorindexname 的内容。

--annotation=value

Set an annotation on the newly-created image index.
在新创建的图像索引上设置注释。

--tls-verify

Require HTTPS and verify certificates when contacting registries (default: true). If explicitly set to true, TLS verification is used. If set to false, TLS verification is not used. If not specified, TLS verification is used unless the target registry is listed as an insecure registry in containers-registries.conf(5)
在联系注册表时需要 HTTPS 并验证证书(默认值为 true)。如果显式设置为 true,则使用 TLS 验证。如果设置为 false,则不使用 TLS 验证。如果未指定,则除非目标注册表在 containers-registries.conf(5) 中被列为不安全注册表,否则将使用 TLS 验证。

EXAMPLES 示例

Create the specified manifest.
创建指定的清单。

podman manifest create mylist:v1.11
9cfd24048d5fc80903f088f1531a21bff01172abe66effa8941a4c2308dc745f

Create the specified manifest manifest or modify it if it previously exist.
创建指定的清单清单,如果之前存在则进行修改。

podman manifest create --amend mylist:v1.11
9cfd24048d5fc80903f088f1531a21bff01172abe66effa8941a4c2308dc745f

Create the named manifest including the specified image matching the current platform.
创建包含指定图像的命名清单,与当前平台匹配。

podman manifest create mylist:v1.11 docker://fedora
5c2bc76bfb4ba6665a7973f7e1c05ee0536b4580637f27adc9fa5a4b2bc03cf1

Create the named manifest including all images referred to with the specified image reference.
创建指定图像引用的所有图像的命名清单。

podman manifest create --all mylist:v1.11 docker://fedora
30330571e79c65288a4fca421d9aed29b0210d57294d9c2056743fdcf6e3967b

SEE ALSO 参见 ¶

podman(1), podman-manifest(1)