You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With previous version, we run "docker compose up" to check the logs, ensure everything works fine, and press "ctrl-z" to detach the docker compose output and leave the server to run.
However, after upgrading the docker client, the docker compose up takes away the control of keyboard and leaves "w - Enable Watch" hint. It doesn't allow user to detach the output anymore with "ctrl-z" or "ctrl-p" + "ctrl-q". The only way to leave the container running is to close and reopen the terminal, which brings inconvinient to daily developing process.
Steps To Reproduce
docker compose up
see w Enable Watch
try press "ctrl-z" or "ctrl-p" + "ctrl-q" nothing happens (should leave the container running and detach the output and return user to shell)
no other keys are accept except "ctrl-c" (stop) or "w" (nothing happens)
Compose Version
Docker Compose version v2.29.7
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered:
After some investigation, when menu is enabled keyboard events are captured by Compose (bypassing your shell) so Ctrl+Z doesn't result into a SIGSTOP signal being send to process. While Compose can then detect this keyboard combination, there's no portable way to reproduce a process suspend routine as implemented by Go runtime. Sending SIGSTP internally to self just results into current go thread to hang, without returning to shell.
I'll close this issue as "not planned" as there's no portable solution. I hope proposed workaround works for you
Description
With previous version, we run "docker compose up" to check the logs, ensure everything works fine, and press "ctrl-z" to detach the docker compose output and leave the server to run.
However, after upgrading the docker client, the docker compose up takes away the control of keyboard and leaves "w - Enable Watch" hint. It doesn't allow user to detach the output anymore with "ctrl-z" or "ctrl-p" + "ctrl-q". The only way to leave the container running is to close and reopen the terminal, which brings inconvinient to daily developing process.
Steps To Reproduce
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: