1podman-image-exists(1)      General Commands Manual     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 returns an exit code
16       of  0 when the image is found.  A 1 is returned otherwise. An exit code
17       of 125 indicates there was an issue accessing the local storage.
18
19

OPTIONS

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

EXAMPLES

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

SEE ALSO

49       podman(1), podman-image(1)
50
51

HISTORY

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