mirror of
https://github.com/containers/podman.git
synced 2025-05-20 16:47:39 +08:00
manifest create,add,inspect
Implememts manifest subcommands create, add, inspect. Signed-off-by: Qi Wang <qiwan@redhat.com>
This commit is contained in:
69
docs/source/markdown/podman-manifest-add.1.md
Normal file
69
docs/source/markdown/podman-manifest-add.1.md
Normal file
@ -0,0 +1,69 @@
|
||||
% podman-manifest-add(1)
|
||||
|
||||
## NAME
|
||||
podman\-manifest\-add - Add an image to a manifest list or image index
|
||||
|
||||
## SYNOPSIS
|
||||
**podman manifest add** *listnameorindexname* *imagename*
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Adds the specified image to the specified manifest list or image index.
|
||||
|
||||
## RETURN VALUE
|
||||
The list image's ID.
|
||||
|
||||
## OPTIONS
|
||||
|
||||
**--all**
|
||||
|
||||
If the image which should be added to the list or index is itself a list or
|
||||
index, add all of the contents to the local list. By default, only one image
|
||||
from such a list or index will be added to the list or index. Combining
|
||||
*--all* with any of the other options described below is NOT recommended.
|
||||
|
||||
**--annotation** *annotation=value*
|
||||
|
||||
Set an annotation on the entry for the newly-added image.
|
||||
|
||||
**--arch**
|
||||
|
||||
Override the architecture which the list or index records as a requirement for
|
||||
the image. If *imageName* refers to a manifest list or image index, the
|
||||
architecture information will be retrieved from it. Otherwise, it will be
|
||||
retrieved from the image's configuration information.
|
||||
|
||||
**--features**
|
||||
|
||||
Specify the features list which the list or index records as requirements for
|
||||
the image. This option is rarely used.
|
||||
|
||||
**--os-version**
|
||||
|
||||
Specify the OS version which the list or index records as a requirement for the
|
||||
image. This option is rarely used.
|
||||
|
||||
**--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
|
||||
|
||||
```
|
||||
podman manifest add mylist:v1.11 docker://fedora
|
||||
71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
|
||||
```
|
||||
|
||||
```
|
||||
podman manifest add --all mylist:v1.11 docker://fedora
|
||||
71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
|
||||
```
|
||||
|
||||
```
|
||||
podman manifest add --arch arm64 --variant v8 mylist:v1.11 docker://71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
|
||||
```
|
||||
|
||||
## SEE ALSO
|
||||
podman(1), podman-manifest(1), podman-manifest-create(1), podman-manifest-inspect(1), podman-rmi(1)
|
43
docs/source/markdown/podman-manifest-create.1.md
Normal file
43
docs/source/markdown/podman-manifest-create.1.md
Normal file
@ -0,0 +1,43 @@
|
||||
% podman-manifest-create(1)
|
||||
|
||||
## NAME
|
||||
podman\-manifest\-create - Create a manifest list or image index
|
||||
|
||||
## SYNOPSIS
|
||||
**podman manifest create** [*options*] *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 which should be 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 will be added to the newly-created list or index.
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
```
|
||||
podman manifest create mylist:v1.11
|
||||
9cfd24048d5fc80903f088f1531a21bff01172abe66effa8941a4c2308dc745f
|
||||
```
|
||||
|
||||
```
|
||||
podman manifest create mylist:v1.11 docker://fedora
|
||||
5c2bc76bfb4ba6665a7973f7e1c05ee0536b4580637f27adc9fa5a4b2bc03cf1
|
||||
```
|
||||
|
||||
```
|
||||
podman manifest create --all mylist:v1.11 docker://fedora
|
||||
30330571e79c65288a4fca421d9aed29b0210d57294d9c2056743fdcf6e3967b
|
||||
```
|
||||
|
||||
## SEE ALSO
|
||||
podman(1), podman-manifest(1), podman-manifest-add(1), podman-manifest-inspect(1), podman-rmi(1)
|
24
docs/source/markdown/podman-manifest-inspect.1.md
Normal file
24
docs/source/markdown/podman-manifest-inspect.1.md
Normal file
@ -0,0 +1,24 @@
|
||||
% podman-manifest-inspect(1)
|
||||
|
||||
## NAME
|
||||
podman\-manifest\-inspect - Display a manifest list or image index
|
||||
|
||||
## SYNOPSIS
|
||||
**podman manifest inspect** *listnameorindexname*
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Displays the manifest list or image index stored using the specified image name.
|
||||
|
||||
## RETURN VALUE
|
||||
|
||||
A formatted JSON representation of the manifest list or image index.
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
```
|
||||
podman manifest inspect mylist:v1.11
|
||||
```
|
||||
|
||||
## SEE ALSO
|
||||
podman(1), podman-manifest(1), podman-manifest-create(1), podman-manifest-add(1), podman-rmi(1)
|
23
docs/source/markdown/podman-manifest.1.md
Normal file
23
docs/source/markdown/podman-manifest.1.md
Normal file
@ -0,0 +1,23 @@
|
||||
% podman-manifest(1)
|
||||
|
||||
## NAME
|
||||
podman\-manifest - Create and manipulate manifest lists and image indexes
|
||||
|
||||
## SYNOPSIS
|
||||
**podman manifest** *subcommand*
|
||||
|
||||
## DESCRIPTION
|
||||
The `podman manifest` command provides subcommands which can be used to:
|
||||
|
||||
* Create a working Docker manifest list or OCI image index.
|
||||
|
||||
## SUBCOMMANDS
|
||||
|
||||
| Command | Man Page | Description |
|
||||
| ------- | ---------------------------------------------------------- | --------------------------------------------------------------------------- |
|
||||
| add | [podman-manifest-add(1)](podman-manifest-add.1.md) | Add an image to a manifest list or image index. |
|
||||
| create | [podman-manifest-create(1)](podman-manifest-create.1.md) | Create a manifest list or image index. |
|
||||
| inspect | [podman-manifest-inspect(1)](podman-manifest-inspect.1.md) | Display a manifest list or image index. |
|
||||
|
||||
## SEE ALSO
|
||||
podman(1), podman-manifest-add(1), podman-manifest-create(1), podman-manifest-inspect(1)
|
@ -169,6 +169,7 @@ the exit codes follow the `chroot` standard, see below:
|
||||
| [podman-login(1)](podman-login.1.md) | Login to a container registry. |
|
||||
| [podman-logout(1)](podman-logout.1.md) | Logout of a container registry. |
|
||||
| [podman-logs(1)](podman-logs.1.md) | Display the logs of one or more containers. |
|
||||
| [podman-manifest(1)](podman-manifest.1.md) | Create and manipulate manifest lists and image indexes. |
|
||||
| [podman-mount(1)](podman-mount.1.md) | Mount a working container's root filesystem. |
|
||||
| [podman-network(1)](podman-network.1.md) | Manage Podman CNI networks. |
|
||||
| [podman-pause(1)](podman-pause.1.md) | Pause one or more containers. |
|
||||
|
Reference in New Issue
Block a user