mirror of https://github.com/docker/compose.git
Connect container to networks before starting it
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
1cb67b781c
commit
2651c00f0c
|
@ -424,8 +424,8 @@ class Service(object):
|
|||
return self.start_container(container)
|
||||
|
||||
def start_container(self, container):
|
||||
container.start()
|
||||
self.connect_container_to_networks(container)
|
||||
container.start()
|
||||
return container
|
||||
|
||||
def connect_container_to_networks(self, container):
|
||||
|
|
Loading…
Reference in New Issue