Fix error when joining host/bridge network

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2016-01-15 00:12:46 +00:00
parent ab2d18851f
commit cba75627e1
1 changed files with 1 additions and 0 deletions

View File

@ -639,6 +639,7 @@ class Service(object):
return self.client.create_networking_config({
network_name: self.client.create_endpoint_config(aliases=[self.name])
for network_name in self.networks
if network_name not in ['host', 'bridge']
})
def build(self, no_cache=False, pull=False, force_rm=False):