NetworkArgs constructor
- Input<
bool?> ? attachable, - Input<
String?> ? driver, - Input<
bool?> ? ingress, - Input<
bool?> ? internal, - Input<
List< ? ipamConfigs,NetworkIpamConfig> ?> - Input<
String?> ? ipamDriver, - Input<
Map< ? ipamOptions,String, String> ?> - Input<
bool?> ? ipv6, - Input<
List< ? labels,NetworkLabel> ?> - Input<
String?> ? name, - Input<
Map< ? options,String, String> ?>
Creates a new NetworkArgs.
attachable Enable manual container attachment to the network.
driver The driver of the Docker network. Possible values are bridge, host, overlay, macvlan. See network docs for more details.
ingress Create swarm routing-mesh network. Defaults to false.
internal Whether the network is internal.
ipamConfigs The IPAM configuration options
ipamDriver Driver used by the custom IP scheme of the network. Defaults to default
ipamOptions Provide explicit options to the IPAM driver. Valid options vary with ipamDriver and refer to that driver's documentation for more details.
ipv6 Enable IPv6 networking. Defaults to false.
labels User-defined key/value metadata
name The name of the Docker network.
options Only available with bridge networks. See bridge options docs for more details.
Implementation
const NetworkArgs({
this.attachable,
this.driver,
this.ingress,
this.internal,
this.ipamConfigs,
this.ipamDriver,
this.ipamOptions,
this.ipv6,
this.labels,
this.name,
this.options,
});