Skip to main content
Levelrail talks to a Docker-compatible Engine API socket. Any runtime that serves that API can in principle run it, but only some are tested. This page says which, and how to set up the rest.

What is supported today

Image-based deploys and compose are the expected path on Podman. Dockerfile and Railpack source builds are not verified on Podman yet: builds use a BuildKit that runs inside dockerd, and Podman has no embedded BuildKit. Build on another node or in CI and deploy the image. Server installs are Linux only. On a macOS laptop, levelrail-cli dev is the path; see Local development.

How the installer chooses

install.sh --runtime auto|docker|podman|existing (or LEVELRAIL_RUNTIME): For Podman the installer enables podman.socket, writes APP_CONTAINER_RUNTIME_SOCKET=unix:///run/podman/podman.sock into the same systemd drop-in as the other APP_* settings, and makes the levelrail unit require podman.socket instead of docker.service. Set LEVELRAIL_PODMAN_SOCKET to use another socket path. An upgrade keeps the runtime an install chose. install.sh --check prints the same rows: the detected runtime, its version, rootful or rootless, and the support label. It exits non-zero only on a real failure, such as --runtime podman with no Podman installed.

Manual Podman setup

Install Podman with your distro first (apt install podman, dnf install podman). Rootful, as root:
Then run install.sh --runtime podman, or set APP_CONTAINER_RUNTIME_SOCKET=unix:///run/podman/podman.sock in the levelrail service drop-in yourself. Rootless, as the user that will own the containers (the installer only prints these, it never runs user-level commands for another user):
Linger keeps the user’s services running after logout. Point APP_CONTAINER_RUNTIME_SOCKET at that socket path. Rootless Podman cannot publish ports 80 and 443 unless you lower net.ipv4.ip_unprivileged_port_start.

Podman notes

  • Source builds (Dockerfile and Railpack) need BuildKit, which Podman does not have. A source deploy on Podman fails with the class build_engine_unsupported. Deploy a prebuilt image, or run Docker on the build node.
  • Podman answers 404 for the engine’s registry digest lookup. Levelrail treats that as “unknown”, not “missing”, and lets the node pull the image itself, so short names such as nginx:1.27-alpine work.
  • App networks are carved from APP_NETWORK_POOL. On Docker the default is 10.88.0.0/14. When Podman is detected the default is 10.200.0.0/14 instead, because netavark hands out 10.88.0.0/16, 10.89.0.0/24 and onward and would overlap. Set APP_NETWORK_POOL_PODMAN to change the Podman default, or APP_NETWORK_POOL to override both. Detection uses the socket path, so a Podman engine behind a docker.sock path needs APP_NETWORK_POOL_PODMAN or APP_NETWORK_POOL set by hand.
  • On restart and redeploy the old container is stopped first and then removed through the compat API, so it no longer stays running and published next to the new one. The graceful stop wait is APP_PODMAN_STOP_TIMEOUT (default 10s).
  • Compose ports are not published on the host as written. A service port is published on a random loopback port for ingress, so do not rely on the host port you wrote in the compose file. See Compose apps.
  • The exposure controller needs the iptables DOCKER-USER chain. On Podman with netavark and nftables that chain is absent. The check recognises that case (it is not treated as a read failure), stays quiet when no port restrictions are set, and reports once when one is, because the allow-list cannot be applied there. Use firewalld or an nftables rule on the host instead.

OrbStack for local development

OrbStack is verified for local development with levelrail-cli dev on macOS. It is not a server runtime.
  • Checked on 2026-10-29: macOS 27.2 (arm64), OrbStack 2.1.3, Docker engine 29.4.0 (linux/arm64). With DOCKER_HOST pointing at ~/.orbstack/run/docker.sock and Docker Desktop also installed, dev started, deployed nginx:alpine, served the welcome page at http://<app>.localhost:<port> with HTTP 200, and logs, restart and stop worked. The app container ran in OrbStack only. Stopping dev left no containers behind.
  • dev now also finds ~/.orbstack/run/docker.sock on its own, after the Docker Desktop, Colima and Rancher Desktop sockets. If several runtimes are installed, set DOCKER_HOST to pick one.
  • Limits: OrbStack runs all containers in one shared VM, and host path mounts can see your macOS files, so this is not isolation. Its free tier is for personal use only.

Verify

The container_runtime check reports Docker or Podman, rootful or rootless, and which setting chose the socket. See Security for what that detection covers.

Roadmap

  • Test against a real Podman host in CI, then promote it from best-effort.
  • A source-build story for Podman (an external BuildKit), once it is verified.
  • Other runtimes only on demand.
Last modified on October 30, 2026