Interview Prep/Docker/Containers, VMs & Isolation Internals

What are Linux namespaces? Name the ones Docker uses.

BeginnerConceptContainers, VMs & Isolation Internals
Answer

Namespaces partition kernel resources so a process sees only its own view. Docker uses: pid (process IDs), net (interfaces, routes, iptables), mnt (mount table), uts (hostname), ipc (SysV IPC, POSIX queues), user (UID/GID mapping, optional) and cgroup (cgroup root view).

ls -l /proc/$(docker inspect -f '{{.State.Pid}}' web)/ns
All Docker questions Roadmap: Docker & containers

More on Containers, VMs & Isolation Internals