podman-compose
A script to run docker-compose.yml using podman
What it is and what it does
Podman Compose is a Python script that translates Docker Compose YAML files into Podman commands, letting you orchestrate multi-container environments using Podman instead of Docker. It implements the Compose Spec and runs containers rootlessly and without a daemon—each compose command directly invokes podman, so there is no background service to manage.
The package depends only on podman, PyYAML, and python-dotenv. It supports modern Podman versions (3.4 and later) and is designed as a single-file script you can drop into your PATH. It's useful for developers who want Docker Compose-like workflows on systems using Podman, particularly in rootless or daemon-less environments.
Use it for:
- Run multi-container development stacks (databases, services, web apps) defined in docker-compose.yml files without Docker installed
- Orchestrate containers in rootless mode for improved security and user isolation
- Migrate from Docker Compose to Podman without rewriting compose files
- Set up local testing environments that match container orchestration patterns without daemon overhead
- Use standard Compose Spec files in CI/CD pipelines where Podman is the container runtime
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Podman Compose runs Docker Compose specification files using Podman as the container backend, without requiring a daemon or root privileges.
Yes, if you use Podman and need Docker Compose compatibility. The package is actively maintained, has low install friction, and solves a real gap—running Compose files with Podman's rootless, daemon-less model. The GPL-2.0-only license is a consideration for proprietary use. No known vulnerabilities as of 2026-08-14.
Install
podman-compose on PyPI
pip
pip install podman-composeuv
uv add podman-composepoetry
poetry add podman-composeInstalling podman-compose
Before you install
Low friction: pure Python wheel with only two runtime dependencies (python-dotenv and pyyaml). Actively maintained as of 2026-06-03 with recent commits. Requires Python 3.9 or newer and podman installed on the system.
License in practice
GPL-2.0-only copyleft license: you may use and modify this package freely, but any derivative work or distribution must also be licensed under GPL-2.0-only. This is a strong copyleft obligation.
Quickstart
pip install podman-compose
podman-compose -f docker-compose.yml up
Podman must be installed on your system; Python 3.9 or newer required. The podman dnsname plugin is optional but recommended for container-to-container DNS resolution.
Verify before relying
- Exact feature parity with Docker Compose Spec—whether all compose-file v2/v3 features are fully supported
- Performance characteristics compared to docker-compose when handling large compose files or many containers
Package facts
| License | GPL-2.0-only (copyleft) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — python-dotenv, pyyaml |
| Maintenance | actively maintained — 72 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 392,951/month — #7,001 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: podman_compose-1.6.0-py3-none-any.whl
Keywords: podman, podman-compose
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
docker-composeDocker Compose is a command-line tool for…
permissive · top 5,000 on PyPI
podmanProvides Python bindings to the Podman…
permissive · top 15,000 on PyPI
pycomposefileParses and deserializes Docker Compose files…
permissive · top 5,000 on PyPI
tox-dockerA tox plugin that manages Docker container…
permissive · top 15,000 on PyPI
apache-airflow-providers-dockerIntegrates Docker container execution into…
permissive · top 5,000 on PyPI
prefect-dockerProvides Docker task execution and container…
permissive · top 5,000 on PyPI
llm-sandboxExecutes code generated by large language…
unclear · top 15,000 on PyPI
pytest-dockerpytest-docker provides pytest fixtures that…
permissive · top 5,000 on PyPI
dumb-initdumb-init is a minimal init system that runs as…
unclear · top 15,000 on PyPI
molecule-pluginsProvides driver plugins for molecule that…
permissive · top 5,000 on PyPI