From b4a944c6cba856d01b84e5978ed3d6c43f03d197 Mon Sep 17 00:00:00 2001 From: aiordache Date: Thu, 10 Sep 2020 16:53:05 +0200 Subject: [PATCH] Use `detach=true` for oneoff containers Signed-off-by: aiordache --- compose/cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/cli/main.py b/compose/cli/main.py index d01bf86a4..626ef294a 100644 --- a/compose/cli/main.py +++ b/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,