|
@@ -58,9 +58,10 @@ func Networks(namespace Namespace, networks networkMap, servicesNetworks map[str
|
|
|
}
|
|
|
|
|
|
createOpts := types.NetworkCreate{
|
|
|
- Labels: AddStackLabel(namespace, network.Labels),
|
|
|
- Driver: network.Driver,
|
|
|
- Options: network.DriverOpts,
|
|
|
+ Labels: AddStackLabel(namespace, network.Labels),
|
|
|
+ Driver: network.Driver,
|
|
|
+ Options: network.DriverOpts,
|
|
|
+ Internal: network.Internal,
|
|
|
}
|
|
|
|
|
|
if network.Ipam.Driver != "" || len(network.Ipam.Config) > 0 {
|