Added missing flags for swarm-mode networks

Signed-off-by: Madhu Venugopal <madhu@docker.com>
(cherry picked from commit cf78863e9d)
This commit is contained in:
Madhu Venugopal 2016-06-29 14:59:22 -07:00 committed by Tibor Vass
parent 99cfbbc287
commit 3657275ca0
1 changed files with 3 additions and 0 deletions

View File

@ -404,6 +404,9 @@ func (c *containerConfig) networkCreateRequest(name string) (clustertypes.Networ
Driver: na.Network.IPAM.Driver.Name,
},
Options: na.Network.DriverState.Options,
Labels: na.Network.Spec.Annotations.Labels,
Internal: na.Network.Spec.Internal,
EnableIPv6: na.Network.Spec.Ipv6Enabled,
CheckDuplicate: true,
}