Skip to content

dsdk / v1.47 / NetworkCreateData

Type Alias: NetworkCreateData ​

NetworkCreateData: object

Type declaration ​

NameTypeDescription
bodyobjectNetwork configuration
body.Attachable?booleanGlobally scoped network is manually attachable by regular containers from workers in swarm mode.
body.ConfigFrom?ConfigReferenceSpecifies the source which will provide the configuration for this network. The specified network must be an existing config-only network; see ConfigOnly.
body.ConfigOnly?booleanCreates 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.
body.Driver?stringName of the network driver plugin to use.
body.EnableIPv4?booleanEnable IPv4 on the network. To disable IPv4, the daemon must be started with experimental features enabled.
body.EnableIPv6?booleanEnable IPv6 on the network.
body.Ingress?booleanIngress network is the network which provides the routing-mesh in swarm mode.
body.Internal?booleanRestrict external access to the network.
body.IPAM?IPAMOptional custom IP scheme for the network.
body.Labels?objectUser-defined key/value metadata.
body.NamestringThe network's name.
body.Options?objectNetwork specific options to be used by the drivers.
body.Scope?stringThe level at which the network exists (e.g. swarm for cluster-wide or local for machine level).