Namespaces: what a container can see
Select an icon to see what it is.
Step 1 of 6
runc asks for new namespaces
runc reads the container's OCI config, which lists the namespaces to create. It asks the kernel for new pid, mount, uts, ipc and network namespaces. Then the container's process starts inside them.
$ docker run -d --name web --network shop-net nginx PrevNext
Namespace flags
CLONE_NEWPID pid namespaceCLONE_NEWNS mount namespaceCLONE_NEWUTS hostnameCLONE_NEWIPC shared memory and queuesCLONE_NEWNET network stack