liveBook · Manning

Pid namespace

A PID namespace is a Linux namespace that isolates process identifiers and the visible process hierarchy.

How 2 Manning books explain it

Kubernetes in Action, Second Edition

A PID namespace is a Linux isolation scope that gives processes an isolated view of process identifiers and process hierarchy.

How it is used
Uses process isolation to let containers and pods control which processes they can see and signal.
How deep it goes
Explains namespace visibility, dual PIDs, process trees, and pod sharing, but does not detail kernel implementation.
Examples
Demonstrates container and host ps output, Docker shells, ephemeral debugging containers, and shareProcessNamespace manifests.
What you can do after
Diagnose process visibility by comparing container and host ps output, or configure pod-wide visibility for debugging.

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

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

A PID namespace is a Linux namespace that isolates process identifiers and the visible process tree.

How it is used
Uses process-tree isolation to reduce host visibility for Podman containers.
How deep it goes
Explains namespace behavior, /proc effects, CLI configuration, and SELinux implications without descending into kernel internals.
Examples
Demonstrates default and host PID views with Podman commands that list numeric directories under /proc.
What you can do after
Operate/configure Podman process visibility with the default namespace or the `--pid=host` option.

Read how Podman in Action: Secure, rootless containers for Kubernetes, microservices, and more explains pid 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.