InfraMaxx

Linux & OS Internals

PID namespaces: why the PID differs inside a container

Beginner · 5 min read · quiz included

Inside the container nginx is PID 1; on the host the same process is 48213. Both numbers are right, and mixing them up sends kill to the wrong process or leaves docker stop waiting ten seconds.

What is in the lesson

Read this lessonFree. No account needed.

More in Linux & OS Internals

All 85 Linux & OS Internals lessons