talira

A tool for managing OCI containers and pods

open sourceApache-2.0self-hostablefree

Podman runs and manages OCI containers, images, volumes and pods (groups of containers that share resources) with a CLI that's compatible with Docker's. It has no manager daemon, which lowers idle resource use, and it can run containers as a normal user, without root: user namespaces map root in the container to that user, so a rootless container never has more privileges than the person who started it. Quadlet turns systemd-style unit files into services, podman kube play runs Kubernetes YAML locally, and a REST API serves both a Docker-compatible interface and Podman's own. On macOS and Windows, podman machine runs the containers in a Linux VM (WSL 2 on Windows). Podman, Buildah and Skopeo are a CNCF sandbox project, Podman Container Tools, under Apache-2.0.

Ways to install

Problems it solves

  • run containers on a Linux server without a root-owned daemon sitting in the background
  • let developers on a shared machine run containers without giving them root or a docker group that's equivalent to root
  • a container breakout shouldn't give the attacker root on the host
  • swap the docker command for something open source without retraining the team on new commands
  • start my containers at boot and restart them when they crash, managed by systemd like any other service
  • write a unit file for a container instead of hand-maintaining a docker run command in a shell script
  • test a Kubernetes pod manifest on my laptop without standing up a cluster
  • turn the containers I have running locally into Kubernetes YAML I can deploy
  • group a web app and its sidecar so they share a network namespace and start and stop together
  • run Linux containers on my Mac or Windows laptop from a free command-line tool
  • point existing Docker tooling and SDKs at a Docker-compatible API socket that isn't Docker
  • update containers automatically when a new image is pushed to the registry
  • checkpoint a running container and restore it later or on another machine
  • build images for several CPU architectures across remote build machines at once
  • keep database passwords out of container images and environment variables with managed secrets

View all 17 problems

Features

  • Docker-compatible CLI for containers, images, volumes and networks
  • no manager daemon: containers run as child processes, for lower idle resource use
  • rootless containers using user namespaces, without a setuid binary
  • pods: groups of containers that share resources and are managed together
  • Quadlet: .container, .pod, .kube, .volume, .network, .image and .build unit files that systemd runs as services
  • podman kube play runs Kubernetes YAML; podman kube generate writes YAML from containers and pods
  • REST API with a Docker-compatible interface and a Podman-specific one
  • podman machine runs a Linux VM on macOS, and a WSL 2 distribution on Windows
  • podman compose runs Compose files through docker-compose or podman-compose against the Podman socket
  • builds from Containerfiles or Dockerfiles through Buildah
View 7 more
  • checkpoint and restore of running containers with CRIU
  • podman auto-update updates containers according to their auto-update policy
  • podman farm distributes builds to remote machines
  • secrets, manifest lists and image indexes, and OCI artifacts
  • networking with Netavark and Aardvark, and pasta for rootless networking
  • remote client that manages containers on another machine
  • PGP-signed releases, with a major or minor release four times a year

Limitations

  • Doesn't implement the Kubernetes CRI for running as a cluster's node runtime: that's out of scope, and CRI-O does it4
  • Doesn't have its own Compose implementation: podman compose is a thin wrapper that runs docker-compose or podman-compose5

Capabilities

Has an APIplan not known
Has a command line toolplan not known

Alternatives

The same job

These do what Podman does.

  1. nerdctl contaiNERD CTL: Docker-compatible CLI for containerd
  2. Apptainer Portable, reproducible application containers for Linux, built for shared systems and HPC
  3. Docker Engine Open source container engine: the dockerd daemon, the Docker Engine API and the docker CLI
  4. Kiri A tiny, fast container runtime for macOS, Windows and Linux.

Compare Podman with the top 3