Files
Guillaume Lours 6f0dccbdc2 fix: treat container exit code 0 as success in --wait mode
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 <[email protected]>
2026-03-24 15:58:23 +01:00
..
2025-05-27 15:16:50 +02:00
2026-02-12 15:31:35 +01:00