1podman-network-rm(1)()                                  podman-network-rm(1)()
2
3
4

NAME

6       podman-network-rm - Remove one or more CNI networks
7
8

SYNOPSIS

10       podman network rm [options] [network...]
11
12

DESCRIPTION

14       Delete one or more Podman networks.
15
16

OPTIONS

18   --force, -f
19       The force option will remove all containers that use the named network.
20       If the container is running, the container will be stopped and removed.
21
22

EXAMPLE

24       Delete the cni-podman9 network
25
26
27              # podman network rm cni-podman9
28              Deleted: cni-podman9
29
30
31
32       Delete the fred network and all containers associated with the network.
33
34
35              # podman network rm -f fred
36              Deleted: fred
37
38
39

Exit Status

41       0   All specified networks removed
42
43
44       1   One of the specified networks did not exist, and no other failures
45
46
47       2   The network is in use by a container or a Pod
48
49
50       125 The command fails for any other reason
51
52

SEE ALSO

54       podman(1), podman-network(1), podman-network-inspect(1)
55
56

HISTORY

58       August 2019,  Originally  compiled  by  Brent  Baude  bbaude@redhat.com
59       ⟨mailto:bbaude@redhat.com⟩
60
61
62
63                                                        podman-network-rm(1)()
Impressum