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

NAME

6       podman-network-rm - Remove one or more 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
23   --time, -t=seconds
24       Seconds to wait before forcibly stopping the  running  containers  that
25       are  using  the specified network. The --force option must be specified
26       to use the --time option.
27
28

EXAMPLE

30       Delete the podman9 network
31
32
33              # podman network rm podman9
34              Deleted: podman9
35
36
37
38       Delete the fred network and all containers associated with the network.
39
40
41              # podman network rm -f fred
42              Deleted: fred
43
44
45

Exit Status

47       0   All specified networks removed
48
49
50       1   One of the specified networks did not exist, and no other failures
51
52
53       2   The network is in use by a container or a Pod
54
55
56       125 The command fails for any other reason
57
58

SEE ALSO

60       podman(1), podman-network(1)
61
62

HISTORY

64       August 2019,  Originally  compiled  by  Brent  Baude  bbaude@redhat.com
65       ⟨mailto:bbaude@redhat.com⟩
66
67
68
69                                                          podman-network-rm(1)
Impressum