Virtualization versus Containerization

This block diagram gives an overview of a typical virtual machine setup:

Virtualization versus Containerization

In virtual machines, the physical hardware is abstracted, therefore we have many servers running on one server. A hypervisor helps do this.

Virtual machines do sometimes take time to start up and are expensive in capacity (they can be GBs in size), although the greatest advantage they have over containers is the ability to run different Linux distributions such as CentOS instead of just Ubuntu:

Virtualization versus Containerization

In containerization, it is only the app layer ...

Get Beginning DevOps with Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.