liveBook · Manning

Linux namespace

A Linux namespace is a kernel mechanism that gives processes isolated views of selected system resources, such as processes, networks, or filesystem mounts.

How 2 Manning books explain it

Kubernetes in Action, Second Edition

A Linux namespace is a kernel mechanism that isolates a process's view of selected system resources from processes in other namespaces.

How it is used
Explains how containers get separate resource views and how selective namespace sharing lets Kubernetes containers work together in a pod.
How deep it goes
Defines namespace types and works through pod-sharing behavior, but stops short of kernel implementation details.
Examples
Uses shared pod networking and a Docker Desktop container joined to host namespaces for concrete illustrations.
What you can do after
Evaluate/understand it: distinguish what containers in one pod share, what remains separate, and why namespaces alone do not ensure complete isolation.

Read how Kubernetes in Action, Second Edition explains linux namespace →

Podman in Action: Secure, rootless containers for Kubernetes, microservices, and more

A Linux kernel isolation mechanism that provides a process with a separate view of selected system resources.

How it is used
Uses kernel namespaces to isolate container processes from host resources and from one another.
How deep it goes
Explains virtualized resource views and several namespace types, but defers detailed kernel configuration and runtime implementation.
Examples
Uses network, mount, PID, IPC, and user namespaces, plus the --privileged option as a security counterexample.
What you can do after
Evaluate container isolation boundaries and avoid disabling them unnecessarily with --privileged.

Read how Podman in Action: Secure, rootless containers for Kubernetes, microservices, and more explains linux namespace →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.