1podman-network-exists(1)() podman-network-exists(1)()
2
3
4
6 podman-network-exists - Check if the given network exists
7
8
10 podman network exists network
11
12
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
21 --help, -h
22 Print usage statement
23
24
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 an network called webbackend exists (the network does not ac‐
38 tually exist).
39
40
41 $ podman network exists webbackend
42 $ echo $?
43 1
44 $
45
46
47
49 podman(1), podman-network-create(1), podman-network-rm(1)
50
51
53 January 2021, Originally compiled by Paul Holzinger
54 <paul.holzinger@web.de>
55
56
57
58 podman-network-exists(1)()