4 Pods

This chapter covers

  • An introduction to pods
  • Managing multiple containers within a pod
  • Using volumes with pods

Podman is short for Pod Manager. A pod is a concept popularized by the Kubernetes project; it is a group of one or more containers working together for a common purpose and sharing the same namespaces and cgroups (resource constraints). Additionally, Podman ensures that on SELinux machines, all container processes within a pod share the same SELinux labels. This means they can all work together from an SELinux point of view.

4.1 Running pods

Podman pods (see figure 4.1), just like Kubernetes Pods, always include a container called the infra container—sometimes called the pause container (not to be confused with the rootless pause ...

Get Podman in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.