Interview Prep/Docker/Containers, VMs & Isolation Internals

What is a container, in one sentence?

BeginnerConceptContainers, VMs & Isolation Internals
Answer

A container is a normal Linux process (or process tree) that the kernel isolates with namespaces, limits with cgroups, and gives its own root filesystem built from an image. There is no "container" object in the kernel; it is a combination of features. That is why containers start in milliseconds and share the host kernel.

All Docker questions Roadmap: Docker & containers

More on Containers, VMs & Isolation Internals