summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAanand Prasad <aanand.prasad@gmail.com>2016-12-08 13:41:33 +0000
committerGitHub <noreply@github.com>2016-12-08 13:41:33 +0000
commit599b29e405164c42168296f60aa23b0ef6c062f0 (patch)
tree85ec1d2d12c8e3178d16e0e7cc80d11ec93d42d2
parent30eac9f1aee529b5019f4e28064895417284773b (diff)
parent6aacf5142750654a9b1f165223478fab3a424eeb (diff)
Merge pull request #4213 from shin-/4212-interactive-connect
Win32 interactive run - Connect container to networks before starting
-rw-r--r--compose/cli/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/compose/cli/main.py b/compose/cli/main.py
index cf53f6aa..c25ccbfa 100644
--- a/compose/cli/main.py
+++ b/compose/cli/main.py
@@ -988,6 +988,7 @@ def run_one_off_container(container_options, project, service, options):
try:
try:
if IS_WINDOWS_PLATFORM:
+ service.connect_container_to_networks(container)
exit_code = call_docker(["start", "--attach", "--interactive", container.id])
else:
operation = RunOperation(