From 47d0aa1bc1a4455099ab59cf8e55a52232b7042e Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Sat, 17 Feb 2024 13:36:24 -0500 Subject: [PATCH] Fix up example description of podman-manifest commands Signed-off-by: Daniel J Walsh --- docs/source/markdown/podman-manifest-add.1.md.in | 3 +++ docs/source/markdown/podman-manifest-annotate.1.md.in | 1 + docs/source/markdown/podman-manifest-exists.1.md | 6 ++---- docs/source/markdown/podman-manifest-push.1.md.in | 1 + docs/source/markdown/podman-manifest-remove.1.md | 1 + 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/source/markdown/podman-manifest-add.1.md.in b/docs/source/markdown/podman-manifest-add.1.md.in index e4fa89ab3f..4b4012b8e2 100644 --- a/docs/source/markdown/podman-manifest-add.1.md.in +++ b/docs/source/markdown/podman-manifest-add.1.md.in @@ -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 ``` diff --git a/docs/source/markdown/podman-manifest-annotate.1.md.in b/docs/source/markdown/podman-manifest-annotate.1.md.in index af500cade6..7af709bae3 100644 --- a/docs/source/markdown/podman-manifest-annotate.1.md.in +++ b/docs/source/markdown/podman-manifest-annotate.1.md.in @@ -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 diff --git a/docs/source/markdown/podman-manifest-exists.1.md b/docs/source/markdown/podman-manifest-exists.1.md index 2455a69479..b55bcc3672 100644 --- a/docs/source/markdown/podman-manifest-exists.1.md +++ b/docs/source/markdown/podman-manifest-exists.1.md @@ -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 diff --git a/docs/source/markdown/podman-manifest-push.1.md.in b/docs/source/markdown/podman-manifest-push.1.md.in index fa49a29be4..8970fc46a8 100644 --- a/docs/source/markdown/podman-manifest-push.1.md.in +++ b/docs/source/markdown/podman-manifest-push.1.md.in @@ -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 ``` diff --git a/docs/source/markdown/podman-manifest-remove.1.md b/docs/source/markdown/podman-manifest-remove.1.md index 32fc5892e5..dfa6fe080b 100644 --- a/docs/source/markdown/podman-manifest-remove.1.md +++ b/docs/source/markdown/podman-manifest-remove.1.md @@ -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