Bring the familiar Docker Compose workflow to Incus containers. incus-compose implements the Compose specification for the Incus ecosystem, allowing you to define and run multi-container applications using the same docker-compose.yml files you already know.
Incus provides powerful system containers and virtual machines with superior security and isolation, but lacks the declarative multi-container orchestration that Docker Compose offers. This tool bridges that gap:
- Use existing
docker-compose.ymlfiles with Incus containers - Leverage Incus's native OCI registry support for image pulling
- Run Docker/OCI images directly from registries
- Manage complex multi-container applications with familiar commands
- Benefit from Incus's resource efficiency and security model
Full docs index: docs/README.md
- Getting Started - Install and run your first compose project
- CLI Reference - Commands and options
- Compose Compatibility - What works and what doesn't
- Architecture - How it works under the hood
- Why Incus? - Benefits over Docker
- Contributing - Contributing to incus-compose
Status: Beta - testing the beta release of incus-compose.
up,down,list(andps),start,stop,restart,exec,config,logscommands- Compose project parsing via compose-go
- OCI image pulling from docker.io, ghcr.io, and other registries
- Bridge networks with automatic name sanitization
- Static IP Addresses for your containers doc
- Storage volumes with UID/GID shifting for proper permissions
- Bind mounts (one-way copy to container/storage volume)
- Port forwarding via proxy devices and kernel nat mode.
- Incus project isolation
- Container image building via Podman/Docker doc
- Advanced compose features (healthchecks, resource limits, etc.)
- Automatic
compose.incus.yamloverrides for Incus-specific settings
incus-compose uses a resource-first design, see Architecture Documentation for details.
Requires podman or docker for image building and an Incus https remote (needed for healthchecking) with OCI registries added.
See Getting Started for the full setup walkthrough.
Install from the
Then point it at your existing compose.yaml:
# Start services
incus-compose up
# View logs
incus-compose logs -f
# List running services
incus-compose list
# Stop and remove
incus-compose downThis project is inspired by @bketelsen. Some components are adapted from docker compose.
This project uses AI tools as development aids (drafting, iteration, reviews, tests, and documentation). Architecture, constraints, and final code decisions are owned by the human committers.
Earlier development was on Gitlab.