1podman-image-exists(1)() podman-image-exists(1)()
2
3
4
6 podman-image-exists - Check if an image exists in local storage
7
8
10 podman image exists [options] image
11
12
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
22 --help, -h
23
24
25 Print usage statement
26
27
29 Check if an image called webclient exists in local storage (the image
30 does actually exist).
31
32
33 $ podman image exists webclient
34 $ echo $?
35 0
36 $
37
38
39
40 Check if an image called webbackend exists in local storage (the image
41 does not actually exist).
42
43
44 $ podman image exists webbackend
45 $ echo $?
46 1
47 $
48
49
50
52 podman(1)
53
54
56 November 2018, Originally compiled by Brent Baude (bbaude at redhat dot
57 com)
58
59
60
61 podman-image-exists(1)()