Quiz Entry - updated: 2026.07.31
What is container-based deployment and how does it differ from VMs?
Containers package an app with its dependencies and share the host OS kernel, making them far lighter than VMs, which each run a full guest OS.
* VMs stack a full guest OS under every app (heavy); containers run apps on a shared host kernel via the engine (lightweight). *
| Bare Metal | Virtual Machines | Containers |
|---|---|---|
| Direct on hardware | Full OS per VM | Shared OS kernel |
| No isolation | Strong isolation | Process isolation |
| Max performance | Overhead from VMs | Lightweight |
Benefits of containers:
- Exact reproduction of environments
- Improved security through isolation
- No host OS dependencies
- Portable across systems
Docker is the most popular container platform.
Go deeper:
What is Docker? (official docs) — the daemon/client/registry architecture and why containers are a lightweight alternative to hypervisor-based VMs.