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:
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):
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-alpinework. - App networks are carved from
APP_NETWORK_POOL. On Docker the default is10.88.0.0/14. When Podman is detected the default is10.200.0.0/14instead, because netavark hands out10.88.0.0/16,10.89.0.0/24and onward and would overlap. SetAPP_NETWORK_POOL_PODMANto change the Podman default, orAPP_NETWORK_POOLto override both. Detection uses the socket path, so a Podman engine behind adocker.sockpath needsAPP_NETWORK_POOL_PODMANorAPP_NETWORK_POOLset 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(default10s). - Compose
portsare 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 withlevelrail-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_HOSTpointing at~/.orbstack/run/docker.sockand Docker Desktop also installed,devstarted, deployednginx:alpine, served the welcome page athttp://<app>.localhost:<port>with HTTP 200, and logs, restart and stop worked. The app container ran in OrbStack only. Stoppingdevleft no containers behind. devnow also finds~/.orbstack/run/docker.sockon its own, after the Docker Desktop, Colima and Rancher Desktop sockets. If several runtimes are installed, setDOCKER_HOSTto 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
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.