Podman

Container engine without a background daemon that runs rootless by default on Linux and uses the same commands on macOS and on a server.

Tool Created Updated External site Also in German: Podman

Reviewed by adrian on

Podman runs containers without a background daemon and, on Linux, rootless by default. On macOS it runs inside a small Linux VM that podman machine manages. I use it on my MacBook and on the VPS with the same commands: Installing Podman locally and on a VPS.

What matters in practice

  • Compose: podman-compose or the subcommand podman compose. Pin PODMAN_COMPOSE_PROVIDER, or the subcommand may call docker-compose.
  • Service names: compose services find each other by name only with netavark and aardvark-dns installed.
  • Quadlets: a .container file in ~/.config/containers/systemd/ becomes a systemd service, as in Forgejo with rootless Podman.
  • podman unshare runs a command inside the rootless user namespace, for example to give a volume the right owner.
  • Reboots: a restart policy covers crashes. After a reboot, a systemd unit has to start the compose stack.

Based on

More on this

Used in

Show in the graph view