Prashantkumar Khatri’s Post

The container was dying. No error. Just gone. docker logs showed nothing useful. I restarted it. It died again. I read the Dockerfile three times. Nothing. Then a colleague said: "check dmesg." `dmesg | grep -i kill` OOM killer. The kernel had killed it because the container hit its memory limit. Docker set the limit, but the kernel enforced it. And only the kernel's log had the real information. That moment changed how I used to debug containers. The Docker layer is thin. The answer is almost always one layer below. cgroups enforce resource limits. Namespaces create isolation. The kernel manages both. Docker is the interface, not the implementation. If you're only reading docker logs, you're reading the summary. The real story is in dmesg. #Docker #Linux #DevOps #Containers #Infrastructure #SoftwareEngineering #CloudNative #opensource

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories