Posts

Showing posts from September, 2017

Difference between Docker (Container) and Virtual Machine (Hypervisor)

Image
Introduction Often we keep getting confused as to why use one over another. What are the actual differences!  So I have tried to consolidate some of the basic differences in this blog. Type Docker (Container) Virtual Machine Behavior of application Run Isolated Isolated Libraries Needed (example: curl, glibc) Uses it's own Uses it's own Kernel Host's kernel Own kernel Operating System (OS) Host's OS It's own OS acting as Guest OS Docker kernel is same as Host's kernel? Since all Linux distribution's use same underlying Linux Kernel and only differ in their user view (view can be UI or application software's). It is pretty easy to add different user view over another Linux OS kernel. That's the main reason an OS on top on another OS is usually the case for virtual machine. Due which, we c