Skip to content

Type Alias: NetworkIPAMConfig ​

NetworkIPAMConfig = object

An IP address range of a Docker network (its IPAM configuration): read from a network (NetworkInfo) and given to NetworkCreateOptions.NetworkIPAMConfigs.

Properties ​

gateway ​

gateway: string

The gateway's IP address, without a prefix length (172.28.0.1).


range? ​

optional range?: string

The part of the subnet Docker allocates the containers' addresses from, in CIDR notation (172.28.5.0/24); the whole subnet when absent.


subnet ​

subnet: string

The network's subnet, in CIDR notation (172.28.0.0/16).

Released under the MIT License.