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

NAME

6       podman-container-exists - Check if a container exists in local storage
7
8

SYNOPSIS

10       podman container exists [options] container
11
12

DESCRIPTION

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

OPTIONS

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

Examples

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

SEE ALSO

49       podman(1)
50
51

HISTORY

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