1PODMAN(1) November 2018 PODMAN(1)
2
3
4
6 podman-image-exists - Check if an image exists in local storage
7
8
9
11 podman image exists [-h|--help] image
12
13
14
16 podman image exists checks if an image exists in local storage. The ID
17 or Name of the image may be used as input. Podman will return an exit
18 code of 0 when the image is found. A 1 will be returned otherwise. An
19 exit code of 125 indicates there was an issue accessing the local
20 storage.
21
22
24 Check if an image called webclient exists in local storage (the image
25 does actually exist).
26
27
28 $ sudo podman image exists webclient
29 $ echo $?
30 0
31 $
32
33
34
35 Check if an image called webbackend exists in local storage (the image
36 does not actually exist).
37
38
39 $ sudo podman image exists webbackend
40 $ echo $?
41 1
42 $
43
44
45
47 podman(1)
48
49
50
52 November 2018, Originally compiled by Brent Baude (bbaude at redhat dot
53 com)
54
55
56
57Brent Baude Podman Man Pages PODMAN(1)