Virtual Machines vs Containers

  • Virtual Machines
    • runs a full-blown guest OS with virtual access to host resources through a hypervisor
    • bins/libs (included with guest OS and installed additionally for application(s)) are independent between VMs
    • in general, VMs incur a lot of overhead beyond what is being consumed by your application logic
  • Containers
    • runs natively on OS and shares the kernel of the host machine with other containers
    • bins/libs are shared between containers through the Container Engine
    • it runs a discrete process, taking no more memory than any other executable, making it lightweight
  • Mediator
    • TODO

Subpages