Monday, 31 December 2018

Docker vs. VM


VMs are FULL OS with memory and device drivers
  • Needs a Hypervisor that manages every OS
  • Every OS runs as separate entity from host and uses its own Kernel = HEAVY

Docker vs. VM
  • Docker shares single Kernel (of host OS)
    VM uses different kernels
  • Docker is lightweight and faster. Uses less resources
    Heavy-weight
    and uses lot of system resources
  • Quick startup and execution within Docker engine
    Slower, Executes within Hypervisor as a separate process

VMs
------------------
Guest OS
------------------
Hypervisor
------------------
Host OS
------------------
Server


Container
------------------
Docker engine
------------------
Host OS
------------------
Server

No comments:

Post a Comment

Note: only a member of this blog may post a comment.