1podman-image-exists(1)()                              podman-image-exists(1)()
2
3
4

NAME

6       podman-image-exists - Check if an image exists in local storage
7
8

SYNOPSIS

10       podman image exists image
11
12

DESCRIPTION

14       podman  image exists checks if an image exists in local storage. The ID
15       or Name of the image may be used as input.  Podman will return an  exit
16       code  of 0 when the image is found.  A 1 will be returned otherwise. An
17       exit code of 125 indicates there was an issue accessing the local stor‐
18       age.
19
20

OPTIONS

22   --help, -h
23       Print usage statement
24
25

EXAMPLES

27       Check  if  an image called webclient exists in local storage (the image
28       does actually exist).
29
30
31              $ podman image exists webclient
32              $ echo $?
33              0
34              $
35
36
37
38       Check if an image called webbackend exists in local storage (the  image
39       does not actually exist).
40
41
42              $ podman image exists webbackend
43              $ echo $?
44              1
45              $
46
47
48

SEE ALSO

50       podman(1)
51
52

HISTORY

54       November 2018, Originally compiled by Brent Baude (bbaude at redhat dot
55       com)
56
57
58
59                                                      podman-image-exists(1)()
Impressum