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
1 changed files with 6 additions and 1 deletions
|
|
@ -709,7 +709,12 @@ def run_one_off_container(container_options, project, service, options):
|
||||||
signals.set_signal_handler_to_shutdown()
|
signals.set_signal_handler_to_shutdown()
|
||||||
try:
|
try:
|
||||||
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()
|
sockets = pty.sockets()
|
||||||
service.start_container(container)
|
service.start_container(container)
|
||||||
pty.start(sockets)
|
pty.start(sockets)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue