Question: what are cgroups and namespaces in docker?
Answer: Docker Namespace and Cgroups. ... Docker uses namespaces of various kinds to provide the isolation that containers need in order to remain portable and refrain from affecting the remainder of the host system. Each aspect of a container runs in a separate namespace and its access is limited to that namespace.