Privileged container
A privileged container is a container granted broad host-level permissions or capabilities that substantially reduce its normal isolation from the host.
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
- Cyber Threat Hunting
- Podman in Action: Secure, rootless containers for Kubernetes, microservices, and more
- Azure Security
What to know first
- containerA software container is an isolated execution environment that packages an application and its dependencies, typically sharing the host operating-system kernel.
- hostA host is a physical or virtual computing system that runs software, provides computing resources, or participates as an addressed endpoint on a network.
- vulnerabilityA vulnerability is a weakness or condition that makes a system, person, or group susceptible to exploitation, compromise, or other harm.
Related concepts
- security contextconfigured by · A security context is security-related configuration or execution state associated with a subject, request, container, or runtime environment.
- isolationcontrasts with · Isolation is the separation of components, processes, resources, or contexts to limit interaction, interference, or the propagation of effects between them.
- CAP_SYS_ADMINuses · CAP_SYS_ADMIN is a Linux capability that includes permission to perform filesystem mounts and many other system-administration operations.
- containerkind of · A software container is an isolated execution environment that packages an application and its dependencies, typically sharing the host operating-system kernel.
- operating system kerneluses · An operating system kernel is the privileged core software that manages hardware and system resources and provides fundamental services to other software.
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.

