Grokking DevOps and SRE Interviews
0% completed
How Containers Work
A container is an ordinary Linux process that the kernel gives a separate view of the system and a limited share of its resources. The process uses the host's kernel, and two kernel features create the separation: namespaces control what the process can see, and cgroups control how much it can use.
This definition explains why a container starts in milliseconds and why it receives the same signals as any other process. The sections below follow one Python web service from its Dockerfile to a running process.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%