Skip to content

Detach pending during container health check #13716

@literally-user

Description

@literally-user

Description

Hey there

I recently noticed a small but annoying issue. When I run docker compose up and it gets to the health check, if I try to detach, docker compose doesn't give me control and waits for the health check to finish. I thought it would be cool to try fixing this. What do you think?

OS: Arch Linux | x86_64

~ docker compose version
Docker Compose version 5.1.1
~ docker -v
Docker version 29.3.1, build c2be9ccfc3

discussion thread: https://forums.docker.com/t/detach-pending-during-container-health-check/151456

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions