Skip to content

capture exit code for container being stopped, and return according to --exit-code-from#11715

Merged
milas merged 1 commit intodocker:mainfrom
ndeloof:exit_code_from
Apr 16, 2024
Merged

capture exit code for container being stopped, and return according to --exit-code-from#11715
milas merged 1 commit intodocker:mainfrom
ndeloof:exit_code_from

Conversation

@ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Apr 11, 2024

What I did
capture container's exitCode on stop event, as container has been interrupted

Related issue
fixes #11712

(not mandatory) A picture of a cute animal, if possible in relation to what you did
image

…o --exit-code-from

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof requested review from a team, glours, jhrotko and milas and removed request for a team April 11, 2024 12:09
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

[BUG] docker compose --exit-code-from does not return correct exit code.

3 participants