podman-build/docs/build/man/podman-manifest-exists.1
2025-10-11 12:30:35 +09:00

42 lines
962 B
Groff

.nh
.TH podman-manifest-exists 1
.SH NAME
podman-manifest-exists \- Check if the given manifest list exists in local storage
.SH SYNOPSIS
\fBpodman manifest exists\fP \fImanifest\fP
.SH DESCRIPTION
\fBpodman manifest exists\fP checks if a manifest list exists on local storage.
Podman returns an exit code of \fB0\fR when the manifest is found. A \fB1\fR is
returned otherwise.
An exit code of \fB125\fR indicates there was another issue.
.SH OPTIONS
.SS \fB--help\fP, \fB-h\fP
Print usage statement.
.SH EXAMPLE
Check if a manifest list called \fBlist1\fR exists (the manifest list does actually exist):
.EX
$ podman manifest exists list1
$ echo $?
0
.EE
.PP
Check if a manifest called \fBmylist\fR exists (the manifest list does not actually exist):
.EX
$ podman manifest exists mylist
$ echo $?
1
.EE
.SH SEE ALSO
\fBpodman(1)\fP, \fBpodman-manifest(1)\fP
.SH HISTORY
January 2021, Originally compiled by Paul Holzinger \fB<paul.holzinger@web.de>\fR