liveBook · Manning

Privileged container

Also called privileged mode

A privileged container is a container granted broad host-level permissions or capabilities that substantially reduce its normal isolation from the host.

How 2 Manning books explain it

Google Anthos in Action

A privileged container is a container granted broad host-level capabilities, kernel access, and device access through privileged mode.

How it is used
Controls whether Kubernetes workloads can access host resources when defining cluster security policy.
How deep it goes
Works through user-and-privilege permission combinations and kernel-change tests, then outlines admission-policy enforcement.
Examples
Uses a kernel-setting test, a permission matrix, and a dry-run constraint matching Pods.
What you can do after
Operate/configure it by assessing host-access risk and testing a Gatekeeper constraint before denying privileged Pods.

Read how Google Anthos in Action explains privileged container →

Kubernetes in Action, Second Edition

A privileged container is a container whose processes receive unrestricted or nearly unrestricted access to the host kernel's operations.

How it is used
Uses elevated kernel access for node agents and workloads that must perform operations unavailable to ordinary containers.
How deep it goes
Explains system calls, full kernel access, and capability-based alternatives, but does not detail individual seccomp profiles.
Examples
Demonstrates Docker --privileged, Kubernetes kube-proxy, and kindnet configurations.
What you can do after
Apply Kubernetes securityContext settings or Docker's --privileged flag while preferring only the capabilities a workload requires.

Read how Kubernetes in Action, Second Edition explains privileged container →

Also covered in

What to know first

Related concepts

Questions about privileged container

What is privileged container?

A privileged container is a container granted broad host-level permissions or capabilities that substantially reduce its normal isolation from the host.

Which Manning books explain privileged container?

Google Anthos in Action and Kubernetes in Action, Second Edition.

What should I know before learning privileged container?

Manning books that teach privileged container usually introduce container, host and vulnerability first.

What is the difference between privileged container and isolation?

A privileged container is a container granted broad host-level permissions or capabilities that substantially reduce its normal isolation from the host. Isolation is the separation of components, processes, resources, or contexts to limit interaction, interference, or the propagation of effects between them.

What is privileged container a kind of?

Privileged container is a kind of container. A software container is an isolated execution environment that packages an application and its dependencies, typically sharing the host operating-system kernel.

What is privileged container also called?

Privileged container is also called privileged mode.

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.