mirror of
https://github.com/docker/compose.git
synced 2026-05-14 06:18:21 +00:00
When using , containers that exit with code 0 (such as init or oneshot containers) were incorrectly treated as failures, causing the command to return exit code 1. Introduce a typed containerExitError in isServiceHealthy and handle exit code 0 in the RunningOrHealthy wait path. Services with restart policies that restart on clean exit (always, unless-stopped) are excluded via restartsOnExit0 to avoid false positives. Fixes #10596 Signed-off-by: Guillaume Lours <glours@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| api | ||
| bridge | ||
| compose | ||
| dryrun | ||
| e2e | ||
| mocks | ||
| remote | ||
| utils | ||
| watch | ||