CmdID / docker / docker network
docker network create
Create a network Docker CLI reference
17 options Its page in the Docker CLI reference
Options
--attachableEnable manual container attachment--aux-addressAuxiliary IPv4 or IPv6 addresses used by Network driver--config-fromThe network from which to copy the configuration--config-onlyCreate a configuration only network--driver, -dDriver to manage the Network--gatewayIPv4 or IPv6 Gateway for the master subnet--ingressCreate swarm routing-mesh network--internalRestrict external access to the network--ip-rangeAllocate container ip from a sub-range--ipam-driverIP Address Management Driver--ipam-optSet IPAM driver specific options--ipv4Enable or disable IPv4 address assignment--ipv6Enable or disable IPv6 address assignment--labelSet metadata on a network--opt, -oSet driver specific options--scopeControl the network's scope--subnetSubnet in CIDR format that represents a network segment