Container time/zone is wrong in logs.
BeginnerTroubleshootingContainers that exit, crash or misbehave
Answer
Likely causes → Containers default to UTC and slim images lack tzdata.
Diagnose → docker exec c date; docker exec c ls /usr/share/zoneinfo | head.
Fix → Install tzdata and set TZ, or mount /etc/localtime:ro.
Prevent → Log in UTC and convert at display time.
More on Containers that exit, crash or misbehave
Container exits immediately with code 0 right after `docker run -d`.Beginner`Exited (137)` with no OOM flag.Intermediate`Exited (139)` segmentation fault.Advanced`Exited (126)` / `Exited (127)`.Beginner`exec /entrypoint.sh: exec format error`Intermediate`docker run` says `WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)` and the app is very slow.Beginner