mirror of https://github.com/docker/compose.git
Fix error when joining host/bridge network
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
ab2d18851f
commit
cba75627e1
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue