瀏覽代碼

Merge pull request #4213 from shin-/4212-interactive-connect

Win32 interactive run - Connect container to networks before starting
Aanand Prasad 9 年之前
父節點
當前提交
599b29e405
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compose/cli/main.py

+ 1 - 0
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(