forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker_network_create.yaml
More file actions
46 lines (45 loc) · 1.3 KB
/
Copy pathdocker_network_create.yaml
File metadata and controls
46 lines (45 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
command: docker network create
short: Create a network
long: Create a network
usage: docker network create [OPTIONS] NETWORK
pname: docker network
plink: docker_network.yaml
options:
- option: attachable
default_value: "false"
description: Enable manual container attachment
- option: aux-address
default_value: map[]
description: Auxiliary IPv4 or IPv6 addresses used by Network driver
- option: driver
shorthand: d
default_value: bridge
description: Driver to manage the Network
- option: gateway
default_value: '[]'
description: IPv4 or IPv6 Gateway for the master subnet
- option: internal
default_value: "false"
description: Restrict external access to the network
- option: ip-range
default_value: '[]'
description: Allocate container ip from a sub-range
- option: ipam-driver
default_value: default
description: IP Address Management Driver
- option: ipam-opt
default_value: map[]
description: Set IPAM driver specific options
- option: ipv6
default_value: "false"
description: Enable IPv6 networking
- option: label
default_value: '[]'
description: Set metadata on a network
- option: opt
shorthand: o
default_value: map[]
description: Set driver specific options
- option: subnet
default_value: '[]'
description: Subnet in CIDR format that represents a network segment