This episode dives into Linux namespaces, the kernel feature that powers container isolation. Lucas explains the seven types of namespaces — PID, network, mount, IPC, UTS, user, and cgroup — and how they create separate views of system resources for each container. Using Docker as a concrete example, we trace a container's lifecycle from creation to runtime, showing how namespace flags like CLONE_NEWPID and CLONE_NEWNET are set at clone() time. Luna asks why user namespaces matter for security (they let you run a container as root inside but unprivileged outside), and Lucas walks through a real-world exploit scenario that namespaces mitigate. The conversation also covers performance overhead — which is near zero — and a glance at the newest namespace type, time namespaces, added in kernel 5.6. If you've ever wondered what's really happening inside `docker run`, this episode unpacks the machinery.

#LinuxNamespaces #ContainerIsolation #Docker #PIDNamespace #NetworkNamespace #MountNamespace #UserNamespace #CgroupNamespace #LinuxKernel #OpenSource #Containers #LXC #Runc #Security #Virtualization #Technology #FexingoBusiness #BusinessPodcast

Keep every episode free: buymeacoffee.com/fexingo