beginnerDocker Architecture, Engine, Daemon, Client & Registry

Is a container a lightweight VM?

No. A container is a regular host process with restricted visibility, achieved via Linux namespaces (isolation) and cgroups (resource limits) — there is no hypervisor and no separate kernel. This is why containers start in milliseconds and share the host kernel, unlike VMs which boot a full guest OS.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to What is a Docker Registry, and how is it different from Docker Hub?← Back to all Docker questions