Use detach=true for oneoff containers

Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
aiordache 2020-09-10 16:53:05 +02:00 committed by Ulysses Souza
parent 46fb338812
commit b4a944c6cb

View File

@ -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,