Skip to content

$ cat docker-vs-virtual-machine.md

Docker vs Virtual Machine

This article summarizes the differences between Docker and Virtual Machine. The difference will be explained based on how Docker works on an Operating system level and comparing it to how Virtual machine works.

medium.com26 Jun 2020 · summary
Read on medium.com ↗
This article summarizes the differences between Docker and Virtual Machine. The difference will be explained based on how Docker works on an Operating system level and comparing it to how Virtual machine works. In other to understand how Docker works on an Operating system level let’s look at how an Operating system is made up. Operating system have 2 Layers; The Kernel is the part that communicates with the hardware components like CPU, Memory. When you download a docker image it actually contains the applications layer of the Operating system and some other applications installed on top of it and it uses the kernel of the host because it does not have is own kernel.

source

This is a summary of an article first published by medium.com. The full piece is on their site.

Open original