Types#

Hardware Virtualization#

Hardware Virtualization decouples the OS from the physical hardware with an abstraction layer (Hypervisor), mimicking real hardware to the OS.

Type 1 Hypervisor: Acts as (host) OS.

Type 2 Hypervisor: Runs as application in a (host) OS.


Operating-System-Level Virtualization#

Hardware Virtualization creates a new OS on top of an existing kernel, allowing for fast and flexible isoltation.

  • Virtualizes from the kernel upwards using Namespaces and Cgroups.

  • Allows for fast, isolated, portable guest OS “containers”.