summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-manifest-exists.1.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-23 11:05:09 +0100
committerGitHub <noreply@github.com>2021-01-23 11:05:09 +0100
commit1305f7c47a4c324c3afd873a244fe2315249a25d (patch)
tree765fe7f70fafbd075bd110ce399225d45fc04597 /docs/source/markdown/podman-manifest-exists.1.md
parent474ba4c3acfc48fecb88814ba48f38e4da15ecae (diff)
parent6e6a38b4168ed7a528614f6499783243a8668395 (diff)
downloadpodman-1305f7c47a4c324c3afd873a244fe2315249a25d.tar.gz
podman-1305f7c47a4c324c3afd873a244fe2315249a25d.tar.bz2
podman-1305f7c47a4c324c3afd873a244fe2315249a25d.zip
Merge pull request #9067 from Luap99/podman-manifest-exists
podman manifest exists
Diffstat (limited to 'docs/source/markdown/podman-manifest-exists.1.md')
-rw-r--r--docs/source/markdown/podman-manifest-exists.1.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-manifest-exists.1.md b/docs/source/markdown/podman-manifest-exists.1.md
new file mode 100644
index 000000000..e15110126
--- /dev/null
+++ b/docs/source/markdown/podman-manifest-exists.1.md
@@ -0,0 +1,43 @@
+% podman-manifest-exists(1)
+
+## NAME
+podman\-manifest\-exists - Check if the given manifest list exists in local storage
+
+## SYNOPSIS
+**podman manifest exists** *manifest*
+
+## DESCRIPTION
+**podman manifest exists** checks if a manifest list exists on local storage. Podman will
+return an exit code of `0` when the manifest is found. A `1` will be returned otherwise.
+An exit code of `125` indicates there was another issue.
+
+
+## OPTIONS
+
+#### **--help**, **-h**
+
+Print usage statement.
+
+## EXAMPLE
+
+Check if a manifest list called `list1` exists (the manifest list does actually exist).
+```
+$ podman manifest exists list1
+$ echo $?
+0
+$
+```
+
+Check if an manifest called `mylist` exists (the manifest list does not actually exist).
+```
+$ podman manifest exists mylist
+$ echo $?
+1
+$
+```
+
+## SEE ALSO
+podman(1), podman-manifest-create(1), podman-manifest-remove(1)
+
+## HISTORY
+January 2021, Originally compiled by Paul Holzinger `<paul.holzinger@web.de>`