What are cgroups and namespaces?
AdvancedConceptLinux and shell
Answer
Namespaces isolate what a process can see (PID, network, mount, UTS, IPC, user, cgroup). cgroups limit what it can use (CPU, memory, I/O, PIDs). Together they are what a container is.
More on Linux and shell
What does exit code 0 mean, and how do you see the last command's exit code?BeginnerHard link vs soft link?BeginnerWhat do the permissions `755` and `640` mean?BeginnerHow do you find which process is using the most CPU right now?BeginnerWhat is a zombie process?IntermediateSIGTERM vs SIGKILL?Beginner