ソースを参照

Use `detach=true` for oneoff containers

Signed-off-by: aiordache <[email protected]>
aiordache 5 年 前
コミット
b4a944c6cb
1 ファイル変更1 行追加1 行削除
  1. 1 1
      compose/cli/main.py

+ 1 - 1
compose/cli/main.py

@@ -1309,7 +1309,7 @@ def run_one_off_container(container_options, project, service, options, toplevel
         service_names=[service.name],
         start_deps=not options['--no-deps'],
         strategy=ConvergenceStrategy.never,
-        detached=detach,
+        detached=True,
         rescale=False,
         cli=native_builder,
         one_off=True,