docker-compose.yml. We recommend rootless Podman.
Prerequisites
- Git
- Podman
- Docker Compose. On Linux, install it as a plugin for all users.
- Model credentials for your chosen model or gateway setup
podman compose uses Docker Compose to run the stack against the Podman socket. You don’t need
Docker Engine.
Install
1
Clone the repository
2
Set up Podman
- Linux
- macOS
For rootless Podman, run every command as the user that will run OpenHands, not as root.Start the Podman socket, keep the stack running across logouts and reboots, and point the
stack at the socket:The application uses the socket at
DOCKER_SOCKET to start sandbox containers.3
Start the stack
4
Complete onboarding
Open
http://localhost:9043 and follow the onboarding flow to create your first user and
configure your LLM provider.Manage the Stack
Follow the other Compose guides with Podman commands. Runpodman compose wherever they use
docker compose, and podman compose up -d wherever they use ./scripts/setup.sh. For example,
the upgrade steps become git pull, podman compose down,
and podman compose up -d.
Serve Over HTTPS
The HTTPS guide serves the stack on ports 80 and 443. Rootless Podman on Linux can only publish ports 1024 and above by default. Allow it to publish port 80 and above before you start the stack:certs
directory so Caddy can read it:
Use Rootful Podman
To run rootful Podman on Linux, replace the Set up Podman and Start the stack steps with these commands. Run everypodman compose command with sudo:

