Containers

What are some of the advantages in using containers? you can compare to other options like VMs

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

  • Reusable: container can be used by multiple different users for different usages - production vs. staging, development, testing, etc.
  • Lightweight: containers are fairly lightweight which means deployments can be done quickly since you don't need to install a full OS (as in VMs for example)
  • Isolation: Containers are isolated environments, usually changes made to the OS won't affect the containers and vice-versa