MediumConceptContainers in depth
What are Linux namespaces and cgroups?
What a good answer covers
Namespaces isolate what a process can see, such as processes, network and mounts, while cgroups limit and account for the resources it can use, such as CPU and memory.