浏览代码

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,