Skip to content

[BUG] Unable to detach docker compose up after upgrading docker client #12594

Closed as not planned
@jasonqsong

Description

@jasonqsong

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

  1. docker compose up
  2. see w Enable Watch
  3. 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)
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions