Skip to content
Latchkey

What Is a Linux Namespace?

A Linux namespace is a kernel feature that partitions a global resource so that processes inside the namespace see only their own isolated instance of it. Separate namespaces exist for process IDs, mounts, networking, users, and more. Combining several namespaces is what gives a container the illusion of its own private machine.

Why it matters

Namespaces are the core of how CI jobs run isolated in containers, with their own process tree and network. Knowing which namespaces are in play explains why a process inside a container cannot see ones outside it.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →