Containers

What is a Container?

Difficulty: unrated

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

Answer

This can be tricky to answer since there are many ways to create a containers:

  • Docker
  • systemd-nspawn
  • LXC

If to focus on OCI (Open Container Initiative) based containers, it offers the following definition: "An environment for executing processes with configurable isolation and resource limitations. For example, namespaces, resource limits, and mounts are all part of the container environment."