Containers provide process-level isolation on top of a shared kernel — they are not full virtual machines with separate kernels.

- Lower overhead: Containers share the kernel, so they require less CPU, memory, and disk than full VMs.
- Faster startup: Containers can start in seconds because they don’t boot a separate kernel.
- Portability: Container images bundle application code and runtime dependencies, making them portable across environments that run the same container runtime.
Container runtime and image ecosystem
Linux container technology has evolved through multiple implementations and standards. Below is a compact overview of notable projects and how they relate:
A short history and modern stack
- Early: LXC provided the initial Linux container primitives.
- Mid: Docker emerged as an easy-to-use tool for building and distributing container images; it originally used LXC.
- Later: Docker moved to
libcontainer, which evolved intorunc. The Open Container Initiative (OCI) standardized runtime and image formats. - Today: Docker typically uses
containerd(daemon) +runc(OCI runtime) under the hood to create and manage containers.
If you want to work directly with low-level primitives, you can explore LXC/LXD. For application development and distribution, Docker and OCI-compliant runtimes (containerd + runc) are the common choice.
- Simplifies image creation and distribution with registries.
- Provides a high-level CLI and API for building, running, and managing containers.
- Abstracts complex setup of namespaces, cgroups, and filesystem mounts so developers can focus on applications.
- Open Container Initiative (OCI) — runtime and image format specifications
- Docker — container platform for building and running containerized apps
- containerd — runtime daemon used by Docker and other platforms
- LXC / LXD — alternative system container technologies