docs/_data/engine-cli/docker_network_create.yaml

47 lines
1.3 KiB
YAML

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