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
{{ message }}
Repository navigation
Allow compose to show container shutdown logs. With an alternative UI. #12918
I assume it's just detaching too early, causing it not to print the logs, but I don't know if this is intended behavior. To me, this seems like it should print the logs on shutdown.
This is something I considered in the past but not a trivial one: as we show progress UI for the stop sequence, we can't mix with logs. Would need to create an alternative progress UI that would not lock access to the terminal. Could show status change events as single line messages + a one-line progress state bar on the bottom (same as menu). Not that simple 😅
This is something I considered in the past but not a trivial one: as we show progress UI for the stop sequence, we can't mix with logs. Would need to create an alternative progress UI that would not lock access to the terminal. Could show status change events as single line messages + a one-line progress state bar on the bottom (same as menu). Not that simple 😅
Yeah, I understand, that's fair. Hopefully this could get added this in the future, as I feel like it's a feature worth having.
changed the title [-][BUG] Detaches from logs too early on shutdown[/-][+]Allow compose to show container shutdown logs. With an alternative UI.[/+]on Jun 10, 2025
Activity
[-][BUG] Deataches to logs too early on shutdown[/-][+][BUG] Deattaches to logs too early on shutdown[/+][-][BUG] Deattaches to logs too early on shutdown[/-][+][BUG] Detaches to logs too early on shutdown[/+][-][BUG] Detaches to logs too early on shutdown[/-][+][BUG] Detaches from logs too early on shutdown[/+]robinhickmann commentedon Jun 8, 2025
Forgot to mention, I tested this using docker run, and when I shutdown the container, it does actually print the shutdown logs.
fix(logs): keep log streaming active until containers fully stop
ndeloof commentedon Jun 10, 2025
This is something I considered in the past but not a trivial one: as we show progress UI for the stop sequence, we can't mix with logs. Would need to create an alternative progress UI that would not lock access to the terminal. Could show status change events as single line messages + a one-line progress state bar on the bottom (same as menu). Not that simple 😅
robinhickmann commentedon Jun 10, 2025
Yeah, I understand, that's fair. Hopefully this could get added this in the future, as I feel like it's a feature worth having.
[-][BUG] Detaches from logs too early on shutdown[/-][+]Allow compose to show container shutdown logs. With an alternative UI.[/+]