buildah-manifest-exists - Man Page

Check if the given manifest list exists in local storage

Synopsis

buildah manifest exists manifest

Description

buildah manifest exists checks if a manifest list exists in local storage. Buildah will return an exit code of 0 when the manifest list 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).

$ buildah manifest exists list1
$ echo $?
0
$

Check if an manifest called mylist exists (the manifest list does not actually exist).

$ buildah manifest exists mylist
$ echo $?
1
$

See Also

buildah(1), buildah-manifest(1)

Referenced By

buildah-manifest(1).