Pārlūkot izejas kodu

Use `detach=true` for oneoff containers

Signed-off-by: aiordache <[email protected]>
aiordache 5 gadi atpakaļ
vecāks
revīzija
b4a944c6cb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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,