Diagnostic step 1
Re-run the container under systemd-run --unit=debug --slice=machine.slice --pty --scope -- /usr/bin/docker run ... to mimic systemd runtime and capture logs interactively.
Generated Oct 22, 2026, 9:30:52 AM
Re-run the container under systemd-run --unit=debug --slice=machine.slice --pty --scope -- /usr/bin/docker run ... to mimic systemd runtime and capture logs interactively.
Export the full environment seen by interactive run (env) and inject it into the unit file (Environment= or EnvironmentFile=) to compare results.
Configure the systemd unit with LimitNOFILE= and TasksMax= set high, and set KillMode=process to avoid group kills during debugging.
Enable core dumps for the container process from systemd (DefaultLimitCORE=infinity) and copy core to host for analysis; run gdb against core to see failing symbol.
Temporarily add a small wrapper that logs ulimits, /proc/self/limits, and env to a mounted volume at container start to compare interactive vs timer runs.