1DOCKER(1) OCT 2015 DOCKER(1)
2
3
4
6 docker-network-rm - remove one or more networks
7
8
9
11 docker network rm [--help] NETWORK [NETWORK...]
12
13
14
16 Removes one or more networks by name or identifier. To remove a
17 network, you must first disconnect any containers connected to it. To
18 remove the network named 'my-network':
19
20
21 $ docker network rm my-network
22
23
24
25 To delete multiple networks in a single docker network rm command,
26 provide multiple network names or ids. The following example deletes a
27 network with id 3695c422697f and a network named my-network:
28
29
30 $ docker network rm 3695c422697f my-network
31
32
33
34 When you specify multiple networks, the command attempts to delete each
35 in turn. If the deletion of one network fails, the command continues
36 to the next on the list and tries to delete that. The command reports
37 success or failure for each deletion.
38
39
40
42 NETWORK
43 Specify network name or id
44
45
46 --help
47 Print usage statement
48
49
50
52 OCT 2015, created by Mary Anthony ⟨mary@docker.com⟩
53
54
55
56Docker Community Docker User Manuals DOCKER(1)