What is a container, really?
Select an icon to see what it is.
Step 4 of 6
A cgroup limits and counts it
The container's process is placed in its own cgroup. With cgroup v2 and the systemd driver it sits in a scope under /sys/fs/cgroup/system.slice. The kernel uses it to track and limit CPU, memory and processes.
Process added to the container's cgroup
/sys/fs/cgroup/system.slice/docker-c3d4e5f6a7b8c9d0c3d4e5f6a7b8c9d0c3d4e5f6a7b8c9d0c3d4e5f6a7b8c9d0.scope/cgroup.procs4321