Skip to content

Commit 9efca8e

Browse files
authored
Merge pull request #2231 from oscrx/patch-1
Change example networks
2 parents 43c131f + 2d6aec7 commit 9efca8e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/reference/commandline/network_create.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@ a single overlay network. Each of the subnetworks has 126 usable addresses.
159159

160160
```bash
161161
$ docker network create -d overlay \
162-
--subnet=192.168.1.0/25 \
163-
--subnet=192.170.2.0/25 \
164-
--gateway=192.168.1.100 \
165-
--gateway=192.170.2.100 \
166-
--aux-address="my-router=192.168.1.5" --aux-address="my-switch=192.168.1.6" \
167-
--aux-address="my-printer=192.170.1.5" --aux-address="my-nas=192.170.1.6" \
162+
--subnet=192.168.10.0/25 \
163+
--subnet=192.168.20.0/25 \
164+
--gateway=192.168.10.100 \
165+
--gateway=192.168.20.100 \
166+
--aux-address="my-router=192.168.10.5" --aux-address="my-switch=192.168.10.6" \
167+
--aux-address="my-printer=192.168.20.5" --aux-address="my-nas=192.168.20.6" \
168168
my-multihost-network
169169
```
170170

0 commit comments

Comments
 (0)