Apex › Systems & OS

How a container isolates a process

A container is not a virtual machine — there is no guest OS. It is one ordinary process on the host kernel, given a private view of the system (namespaces) and a cap on resources (cgroups). A narrated walk through both, plus the image as its root filesystem. Toggle the PID namespace off and watch host processes become visible; set the memory limit too low and the cgroup OOM-kills it.

More in Systems & OS