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       $ podman image exists webclient
30       $ echo $?
31       0
32       $
33
34
35
36       Check  if an image called webbackend exists in local storage (the image
37       does not actually exist).
38
39       $ podman image exists webbackend
40       $ echo $?
41       1
42       $
43
44
45

SEE ALSO

47       podman(1), podman-image(1)
48
49

HISTORY

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