Docker containers
OS-level isolation · shared host kernel
Ready in 0.4 s
Container runtimeimages · namespaces · cgroups
Host operating systemone shared kernel
HardwareCPU · memory · storage
Run the same app two ways
Change the workload, reveal every layer, and simulate startup. The numbers are illustrative, but the architecture is real.
OS-level isolation · shared host kernel
Hardware virtualization · one guest OS each
Choose the boundary
Containers isolate processes while sharing the host kernel, so they are small and fast. Virtual machines isolate an entire operating system behind virtual hardware, so they carry more overhead but can run different kernels and provide a stronger default boundary.
Try it locally