Fix up example description of podman-manifest commands

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2024-02-17 13:36:24 -05:00
parent fbb4d5dca6
commit 47d0aa1bc1
5 changed files with 8 additions and 4 deletions

View File

@ -90,16 +90,19 @@ configuration information.
## EXAMPLE
Add specified default image from source manifest list to destination manifest list:
```
podman manifest add mylist:v1.11 docker://fedora
71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
```
Add all images from source manfest list to destination manifest list:
```
podman manifest add --all mylist:v1.11 docker://fedora
71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
```
Add selected image matching arch and variant from source manifest list to destination manifest list:
```
podman manifest add --arch arm64 --variant v8 mylist:v1.11 docker://71c201d10fffdcac52968a000d85a0a016ca1c7d5473948000d3131c1773d965
```

View File

@ -40,6 +40,7 @@ for the image. This option is rarely used.
## 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

View File

@ -21,20 +21,18 @@ Print usage statement.
## EXAMPLE
Check if a manifest list called `list1` exists (the manifest list does actually exist).
Check if a manifest list called `list1` exists (the manifest list does actually exist):
```
$ podman manifest exists list1
$ echo $?
0
$
```
Check if a manifest called `mylist` exists (the manifest list does not actually exist).
Check if a manifest called `mylist` exists (the manifest list does not actually exist):
```
$ podman manifest exists mylist
$ echo $?
1
$
```
## SEE ALSO

View File

@ -83,6 +83,7 @@ Sign the pushed images with a sigstore signature using a private key at the spec
## EXAMPLE
Push manifest list to container registry:
```
podman manifest push mylist:v1.11 docker://registry.example.org/mylist:v1.11
```

View File

@ -14,6 +14,7 @@ The list image's ID and the digest of the removed image's manifest.
## EXAMPLE
Remove specified digest from the manifest list:
```
podman manifest remove mylist:v1.11 sha256:cb8a924afdf0229ef7515d9e5b3024e23b3eb03ddbba287f4a19c6ac90b8d221
e604eabaaee4858232761b4fef84e2316ed8f93e15eceafce845966ee3400036 :sha256:cb8a924afdf0229ef7515d9e5b3024e23b3eb03ddbba287f4a19c6ac90b8d221