Skip to main content
You can run the Docker Compose stack with Podman instead of Docker. You don’t need to change docker-compose.yml. We recommend rootless Podman.

Prerequisites

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

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

On the first start, Podman pulls images, which can take several minutes.
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. Run podman 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:
If you use your own certificate on a host with SELinux enforcing, such as RHEL, label the 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 every podman compose command with sudo: