Skip to content

Return a nonzero exit code if a service fails using --wait - #1533

Open
absporl wants to merge 1 commit into
containers:mainfrom
absporl:wait-return-error
Open

Return a nonzero exit code if a service fails using --wait#1533
absporl wants to merge 1 commit into
containers:mainfrom
absporl:wait-return-error

Conversation

@absporl

@absporl absporl commented Aug 6, 2026

Copy link
Copy Markdown

Make up --wait and start --wait return a service's nonzero exit code when it exits unsuccessfully, or 1 when it becomes unhealthy.

This is to match docker-compose behavior.

Make `up --wait` and `start --wait` return a service's nonzero exit
code when it exits unsuccessfully, or 1 when it becomes unhealthy.

This is to match docker-compose behavior.

Signed-off-by: Mark Abspoel <mark.abspoel@rosemanlabs.com>
@absporl
absporl force-pushed the wait-return-error branch from 11ea606 to 2b27406 Compare August 7, 2026 10:23
@absporl absporl changed the title Return a nonzero exit code if services fails using --wait Return a nonzero exit code if a service fails using --wait Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant