equal
deleted
inserted
replaced
|
1 .TH "DOCKER" "1" " Docker User Manuals" "Docker Community" "OCT 2015" "" |
|
2 |
|
3 |
|
4 .SH NAME |
|
5 .PP |
|
6 docker\-network\-rm \- remove one or more networks |
|
7 |
|
8 |
|
9 .SH SYNOPSIS |
|
10 .PP |
|
11 \fBdocker network rm\fP |
|
12 [\fB\-\-help\fP] |
|
13 NETWORK [NETWORK...] |
|
14 |
|
15 |
|
16 .SH DESCRIPTION |
|
17 .PP |
|
18 Removes one or more networks by name or identifier. To remove a network, |
|
19 you must first disconnect any containers connected to it. |
|
20 To remove the network named 'my\-network': |
|
21 |
|
22 .PP |
|
23 .RS |
|
24 |
|
25 .nf |
|
26 $ docker network rm my\-network |
|
27 |
|
28 .fi |
|
29 .RE |
|
30 |
|
31 .PP |
|
32 To delete multiple networks in a single \fB\fCdocker network rm\fR command, provide |
|
33 multiple network names or id's. The following example deletes a network with id |
|
34 \fB\fC3695c422697f\fR and a network named \fB\fCmy\-network\fR: |
|
35 |
|
36 .PP |
|
37 .RS |
|
38 |
|
39 .nf |
|
40 $ docker network rm 3695c422697f my\-network |
|
41 |
|
42 .fi |
|
43 .RE |
|
44 |
|
45 .PP |
|
46 When you specify multiple networks, the command attempts to delete each in turn. |
|
47 If the deletion of one network fails, the command continues to the next on the |
|
48 list and tries to delete that. The command reports success or failure for each |
|
49 deletion. |
|
50 |
|
51 |
|
52 .SH OPTIONS |
|
53 .PP |
|
54 \fBNETWORK\fP |
|
55 Specify network name or id |
|
56 |
|
57 .PP |
|
58 \fB\-\-help\fP |
|
59 Print usage statement |
|
60 |
|
61 |
|
62 .SH HISTORY |
|
63 .PP |
|
64 OCT 2015, created by Mary Anthony |
|
65 \[la][email protected]\[ra] |