Podman Compose
$ podman-compose Official Med RiskPodman Compose (podman-compose) executes Docker Compose specifications against rootless or rootful Podman backends without a central daemon. It supports up -d, down, ps, logs, and --dry-run, though structured JSON inspection is typically delegated to podman ps --format json.
brew install podman-compose podman-compose drives local rootless Podman pods and containers directly via CLI; MCP adds no advantage.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --dry-run and -d non-interactive operation, but ps lacks native --format json and Compose spec parity can trail Docker Compose.
--dry-runprints translatedpodmancommands- Lacks native
--format jsononpodman-compose ps
Runs rootlessly on Podman with --dry-run command preview, avoiding a privileged root Docker daemon.
- Rootless execution model via Podman
--dry-runpreviews underlyingpodmaninvocations
Requires Python runtime plus an initialized Podman engine (podman machine on macOS/Windows).
- Installable via
breworpip install podman-compose - Requires Podman machine setup on non-Linux hosts
Useful bridge for rootless Compose stacks, though advanced Compose profiles and watch/bake features lag official Docker Compose.
- Translates Compose YAML into sequential
podmanCLI calls
Hosted under the official containers GitHub organization (containers/podman-compose) with GPL-2.0 license.
containers/podman-composerepository
README and --help cover core flags, though edge-case Compose compatibility is spread across GitHub issues.
- README and CLI
--helpdocumentation
Security, Auth & Guardrails
Delegates container registry authentication to Podman (${XDG_RUNTIME_DIR}/containers/auth.json or ~/.docker/config.json).
100% free and open-source (GPL-2.0).
# Podman Compose Agent Rules - Run `podman-compose --dry-run up -d` to verify translated `podman` commands before mutating containers. - Use `podman ps --format json` for structured container state instead of parsing `podman-compose ps` text. - Never run `podman-compose down -v` without explicit approval.
Agent-Ready Command Recipes
Safe Read-Only Queries
--dry-run podman-compose --dry-run up -d
Prints the exact podman commands podman-compose would execute without starting containers.
podman-compose ps
Displays the status of containers managed by the current compose.yaml.
Controlled Writes & Previews
podman-compose -f compose.yaml up -d
Creates pods and starts services in detached mode on the Podman backend.
Strengths for Agents
- +
--dry-runreveals the exact underlyingpodmanCLI calls before execution. - + Enables rootless, daemonless Compose workflows on Podman.
- + Available cleanly via both Homebrew and PyPI.
Caveats & Pitfalls
- ! Does not support
--format json; agents must callpodman ps --format jsonfor structured data. - ! Requires Python and a working Podman backend (
podman machineon macOS/Windows).