[ SRE_ARENA ]
CONTAINER INTERNALS

Container Internals: There is No 'Container' in Linux

DOWNLOADING CONCEPT: 1. THE GREAT ILLUSION...
  • ↳A Virtual Machine (VM) emulates an entire physical computer, including a hardware hypervisor and a full guest Operating System.
  • ↳VMs are heavy and take minutes to boot.
  • ↳A Container is fundamentally different.
  • ↳There is no 'container' object in the Linux kernel. A container is just a normal Linux process (like your web browser) that has been heavily restricted using two kernel features: Namespaces (what the process can see) and cgroups (what the process can use).
▲ LIVE INCIDENTA developer complains: 'My Python container keeps crashing randomly without any error logs!'
sre@arena:~/containers
sre@arena:~$ dmesg -T | grep -i oom