What is a container, really?
Select an icon to see what it is.
Step 3 of 6
The kernel makes new namespaces
runc asks the kernel for new pid, mount, uts, ipc and network namespaces, then starts the container's process inside them. Each namespace hides part of the host from that process. This is the isolation.
Namespaces for the container process
pid - own process tree, nginx is PID 1mnt - own mount table and root filesystemuts - own hostnameipc - own shared memory and queuesnet - own interfaces, routes and iptables