Docker vs. Virtual Machine
Last updated
Last updated
Layer – Kernel communicates with hardware (CPU, Hard drive, RAM etc.)
Layer – Application run on kernel layer.
A container is an isolated, lightweight silo for running an application on the host operating system. Containers build on top of the host operating system's kernel (which can be thought of as the buried plumbing of the operating system), and contain only apps and some lightweight operating system APIs and services that run in user mode, as shown in this diagram.
In contrast to containers, VMs run a complete operating system–including its own kernel–as shown in this diagram.