liveBook · Manning

Network namespace

A network namespace is an isolated operating-system networking context with its own network interfaces, routes, ports, and related resources.

How 2 Manning books explain it

Kubernetes in Action, Second Edition

A network namespace is a Linux namespace that isolates network interfaces, protocol stacks, ports, and related networking resources.

How it is used
Provides isolated networking for processes while letting containers in a Kubernetes pod share interfaces, IP addresses, and ports.
How deep it goes
Defines isolated network resources and explains interface membership and pod-level sharing, without detailing namespace setup commands.
Examples
Illustrates two processes sharing an IP address and port space, then containers sharing interfaces inside a pod.
What you can do after
Evaluate/understand why containers in one pod can share an IP address yet conflict over ports, while different pods do not.

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

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

A network namespace is a Linux namespace that provides an isolated view of network devices and network configuration.

How it is used
Isolates container network views and controls which containers can communicate through Podman-managed networks.
How deep it goes
Explains virtual devices, rootless relaying, TAP devices, and network assignment, but does not detail firewall configuration.
Examples
Demonstrates net1 and net2, container-name resolution, cross-network ping failure, and the --net=host option.
What you can do after
Operate/configure Podman networks that isolate containers or deliberately expose host networking.

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