Browse code

Merge pull request #23293 from mountkin/network-docs

docs: correct network create command
(cherry picked from commit ac14aa11b6f9172c744affa9823d05fde721c5e0)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2016/06/06 19:07:23
Showing 1 changed files
... ...
@@ -101,7 +101,7 @@ disconnect` command.
101 101
 When you create a network, Engine creates a non-overlapping subnetwork for the network by default. This subnetwork is not a subdivision of an existing network. It is purely for ip-addressing purposes. You can override this default and specify subnetwork values directly using the `--subnet` option. On a `bridge` network you can only create a single subnet:
102 102
 
103 103
 ```bash
104
-docker network create -d --subnet=192.168.0.0/16
104
+docker network create --driver=bridge --subnet=192.168.0.0/16 br0
105 105
 ```
106 106
 Additionally, you also specify the `--gateway` `--ip-range` and `--aux-address` options.
107 107