cgroups: limits, and why exit code 137 happens
Select an icon to see what it is.
Step 2 of 6
The limits become cgroup files
The runtime creates a cgroup for the container and writes the limits into its control files. On cgroup v2, memory.max holds the byte limit and cpu.max holds a quota and a period in microseconds. The container's process is then placed in that cgroup.
/sys/fs/cgroup/system.slice/docker-a9b8c7d6e5f40312a9b8c7d6e5f40312a9b8c7d6e5f40312a9b8c7d6e5f40312.scope (systemd cgroup driver)
memory.max 268435456cpu.max 50000 100000 (50 ms of CPU every 100 ms)cgroup.procs 4321