Signed-off-by: Phil Whelan <phil123@gmail.com>
This commit is contained in:
Phil Whelan 2015-11-12 15:37:11 -08:00 committed by Alexandre Beslic
parent 94c0593c0b
commit e895136580
1 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ As you can see here, the ID is the same on the two nodes, because it's the same
network.
If you want to create a local scope network (for example with the bridge
driver) you should use `<node>/<name>` otherwise your network will be created on a
driver) you should use `<node>/<name>`. Otherwise your network will be created on a
random node.
$ docker network create node-0/bridge2 -b bridge
@ -79,7 +79,7 @@ random node.
## Remove a network
To remove a network you can use its ID or its name.
If two different networks have the same name, you may use `<node>/<name>`.
If two different networks have the same name, you can use `<node>/<name>`.
$ docker network rm swarm_network
42131321acab3233ba342443Ba4312
@ -94,8 +94,8 @@ If two different networks have the same name, you may use `<node>/<name>`.
8926accb25fd node-1/bridge bridge
6382abccd23d node-1/none null
5262bbfe5616 node-1/bridge2 bridge
`swarm_network` was removed from every node, `bridge2` was removed only
`swarm_network` was removed from every node, whereas `bridge2` was removed only
from `node-0`.
## Docker Swarm documentation index