Skip to content

dsdk / v1.47 / Network

Type Alias: Network ​

Network: object

Type declaration ​

NameTypeDescription
Attachable?booleanWhether a global / swarm scope network is manually attachable by regular containers from workers in swarm mode.
ConfigFrom?ConfigReference-
ConfigOnly?booleanWhether the network is a config-only network. Config-only networks are placeholder networks for network configurations to be used by other networks. Config-only networks cannot be used directly to run containers or services.
Containers?objectContains endpoints attached to the network.
Created?stringDate and time at which the network was created in RFC 3339 format with nano-seconds.
Driver?stringThe name of the driver used to create the network (e.g. bridge, overlay).
EnableIPv4?booleanWhether the network was created with IPv4 enabled.
EnableIPv6?booleanWhether the network was created with IPv6 enabled.
Id?stringID that uniquely identifies a network on a single machine.
Ingress?booleanWhether the network is providing the routing-mesh for the swarm cluster.
Internal?booleanWhether the network is created to only allow internal networking connectivity.
IPAM?IPAM-
Labels?objectUser-defined key/value metadata.
Name?stringName of the network.
Options?objectNetwork-specific options uses when creating the network.
Peers?PeerInfo[] | nullList of peer nodes for an overlay network. This field is only present for overlay networks, and omitted for other network types.
Scope?stringThe level at which the network exists (e.g. swarm for cluster-wide or local for machine level)