mirror of https://github.com/docker/compose.git
Fixes #2448
Signed-off-by: Alf Lervag <alf.lervag@bouvet.no> Conflicts: compose/cli/main.py requirements.txt
This commit is contained in:
parent
8662ce8e21
commit
6e73fb38ea
|
@ -709,7 +709,12 @@ def run_one_off_container(container_options, project, service, options):
|
|||
signals.set_signal_handler_to_shutdown()
|
||||
try:
|
||||
try:
|
||||
pty = PseudoTerminal(project.client, container.id, interactive=not options['-T'])
|
||||
pty = PseudoTerminal(
|
||||
project.client,
|
||||
container.id,
|
||||
interactive=not options['-T'],
|
||||
logs=False,
|
||||
)
|
||||
sockets = pty.sockets()
|
||||
service.start_container(container)
|
||||
pty.start(sockets)
|
||||
|
|
Loading…
Reference in New Issue