pub fn parse_container_exit_code(status: &str) -> Option<i32>Expand description
Extract the integer in Exited (N) from a docker Status string.
Returns None when the prefix is absent or the captured slice does not
parse as an integer. Podman emits an empty status; callers should fall
back to inspect-cache exit code in that case.