Skip to content

Chapter 14: Virtualization and Containers

Vol 3: Computer Core Expedition · Chapter 14


Metadata Card

AttributeValue
KeywordsHypervisor, Container, VM, CPU/Memory/I/O Virtualization

Your Progress

"One physical machine can run multiple operating systems simultaneously through virtualization. Containers take a different approach — sharing the host OS kernel while isolating processes."


Encounter 1: Hypervisor Types

  • Type 1 (Bare-metal): Runs directly on hardware (VMware ESXi, Xen, KVM)
  • Type 2 (Hosted): Runs on a host OS (VirtualBox, VMware Workstation)

Encounter 2: Containers vs VMs

VMContainer
OSEach VM has its own OSShares host OS kernel
Boot timeMinutesSeconds
IsolationStrong (hardware-backed)Process-level (namespaces)
Resource overheadHigh (duplicate OS)Low
Image sizeGBMB

Encounter 3: Docker

Docker uses Linux namespaces (process isolation) and cgroups (resource limits) to create lightweight, reproducible environments.


Verification Checklist

  • [ ] Can explain the difference between Type 1 and Type 2 hypervisors
  • [ ] Can compare containers vs VMs
  • [ ] Can describe the key technologies behind Docker (namespaces, cgroups)

Next Stop Preview

Chapter 15: CPU Pipeline

Built with VitePress | Software Systems Atlas