1podman-network-exists(1)    General Commands Manual   podman-network-exists(1)
2
3
4

NAME

6       podman-network-exists - Check if the given network exists
7
8

SYNOPSIS

10       podman network exists network
11
12

DESCRIPTION

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

OPTIONS

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

EXAMPLE

26       Check if a network called net1 exists (the network  does  actually  ex‐
27       ist).
28
29
30              $ podman network exists net1
31              $ echo $?
32              0
33              $
34
35
36
37       Check if a network called webbackend exists (the network does not actu‐
38       ally exist).
39
40
41              $ podman network exists webbackend
42              $ echo $?
43              1
44              $
45
46
47

SEE ALSO

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

HISTORY

53       January    2021,    Originally    compiled    by     Paul     Holzinger
54       <paul.holzinger@web.de>
55
56
57
58                                                      podman-network-exists(1)
Impressum