Podman Compose is a single-file Python script that implements the Compose Spec against Podman, using a rootless, daemon-less process model without a long-running Compose daemon.
Overview
Podman Compose reads docker-compose-style YAML and orchestrates containers through the Podman CLI directly. The design targets rootless workflows and avoids relying on a central daemon, unlike setups that point unmodified docker-compose at a Podman socket.
The script depends on Podman with a network backend that supports DNS name resolution between containers on the same network, plus Python 3.9 or newer. You can install it from PyPI, distribution packages, or Homebrew, or drop the podmancompose.py file into your PATH.
The project tracks modern Podman releases (3.4 and later) on its stable 1.x branch, while an older 0.1.x branch remains for legacy Podman versions that needed network workarounds.
Unit and integration test suites are included for contributors validating changes against real Podman engines.
Key features
- Compose Spec compatibility
- Rootless Podman backend
- Daemon-less execution
- Single Python script
- PyPI and package installs
- Unit and integration tests
Use cases
- Local multi-container stacks
- Rootless compose workflows
- Podman-based dev environments