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 returns an exit code  of  0  when
16       the  network  is found.  A 1 is returned otherwise. An exit code of 125
17       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       $ podman network exists net1
30       $ echo $?
31       0
32       $
33
34
35
36       Check if a network called webbackend exists (the network does not actu‐
37       ally exist).
38
39       $ podman network exists webbackend
40       $ echo $?
41       1
42       $
43
44
45

SEE ALSO

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

HISTORY

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