mirror of
https://github.com/moby/moby.git
synced 2026-08-04 23:21:00 +00:00
Formatting changes to make 1.12.x ref docs buildable in Jekyll
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
<!--[metadata]>
|
||||
+++
|
||||
title = "network create"
|
||||
description = "The network create command description and usage"
|
||||
keywords = ["network, create"]
|
||||
[menu.main]
|
||||
parent = "smn_cli"
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# network create
|
||||
---
|
||||
redirect_from:
|
||||
- /reference/commandline/network_create/
|
||||
description: The network create command description and usage
|
||||
keywords:
|
||||
- network, create
|
||||
title: docker network create
|
||||
---
|
||||
|
||||
```markdown
|
||||
Usage: docker network create [OPTIONS] NETWORK
|
||||
@@ -133,7 +130,7 @@ support it you can create multiple subnetworks.
|
||||
$ docker network create -d overlay \
|
||||
--subnet=192.168.0.0/16 \
|
||||
--subnet=192.170.0.0/16 \
|
||||
--gateway=192.168.0.100 \
|
||||
--gateway=192.168.0.100 \
|
||||
--gateway=192.170.0.100 \
|
||||
--ip-range=192.168.1.0/24 \
|
||||
--aux-address="my-router=192.168.1.5" --aux-address="my-switch=192.168.1.6" \
|
||||
|
||||
Reference in New Issue
Block a user