Skip to content

Type Alias: NetworkInfo ​

NetworkInfo = object

A Docker network, as Docker.getNetwork, Docker.listNetworks and Docker.createNetwork return it.

Properties ​

createdAt ​

createdAt: Time

When the network was created.


driver ​

driver: string

The network driver, as Docker reports it: 'bridge', 'ipvlan' or 'macvlan' for the networks created by this component; also 'host', 'null' (the none network), 'overlay' or a plugin's name for the others.


enableIPv6 ​

enableIPv6: boolean

true when IPv6 is enabled on the network.


id ​

id: string

The network ID.


internal ​

internal: boolean

true when the network has no external access.


IPAMConfigs ​

IPAMConfigs: NetworkIPAMConfig[]

The network's address ranges, empty when it has none.


name ​

name: string

The network name.


reserved ​

reserved: boolean

true for the networks Docker creates itself: bridge, host and none.

Released under the MIT License.