Using Podman
Deploy BioFlow AI and run containerized analysis tools with Podman
BioFlow AI natively supports Podman for infrastructure services and the Podman API for bioinformatics tool containers. The package bundles a dedicated Podman Compose template that auto-init applies automatically—no manual template edits needed.
This guide targets rootless Podman on Linux. On macOS and Windows, Podman typically runs inside a Podman machine, where host networking and mount paths may differ.
Install Podman and Compose
Install Podman along with a Compose provider for podman compose (most Linux distributions ship podman-compose directly):
sudo apt update
sudo apt install -y podman podman-composeVerify the installation:
podman --version
podman compose versionauto-init prefers podman compose and automatically falls back to podman-compose if needed.
Install BioFlow AI with the Podman extra
Include --extra podman so the backend can communicate with the Podman API to launch tool containers:
mkdir bioflow-ai && cd bioflow-ai
uv init --bare --python 3.13
uv add --extra podman bioflow-aiStart the Podman socket
For rootless Podman with systemd, enable the user socket:
systemctl --user enable --now podman.socketVerify that the socket is active:
podman info
ls /run/user/$(id -u)/podman/podman.sockIf systemd user services are unavailable, start the socket for the current session:
podman system service --time=0 unix:///run/user/$(id -u)/podman/podman.sockRun the backend processes and the Podman socket as the same user. When managing the backend with systemd, ensure XDG_RUNTIME_DIR is preserved.
Run automatic initialization
From your deployment directory:
uv run bioflow-ai auto-initSelect podman at the Container runtime prompt. The wizard will:
- Write
container = "podman"toconfig.toml. - Generate
docker-compose.ymlfrom the bundled Podman template and synchronize ports and the Web UI backend URL. - Run
milvus-volume-initandrustfs-volume-initusing--profile volume-initto set up volume ownership before starting the long-running services. - Wait for PostgreSQL, RustFS, and Milvus to pass health checks, then proceed to database preparation, model configuration, and preset data import.
Everyday commands
podman compose ps
podman compose logs -f standalone
podman compose up -dIf the wizard fell back to podman-compose, replace podman compose with podman-compose in the commands above.
Troubleshooting
Backend cannot reach the Podman API
systemctl --user status podman.socket
echo "$XDG_RUNTIME_DIR"
ls -l /run/user/$(id -u)/podman/podman.sockMake sure the user running the API and workers has access to the socket.
Compose is unavailable
Check both supported commands (only one needs to work):
podman compose version
podman-compose --versionWeb UI cannot reach the API
Confirm that uv run bioflow-ai api is running in your deployment directory and that [network].host is set to 0.0.0.0. If you changed the API port manually after initialization, update BACKEND_API_URL for web-ui in docker-compose.yml to match.
Switching back to Docker
Rerun uv run bioflow-ai auto-init and choose docker at Container runtime, or set [docker].container = "docker" in config.toml and rerun the wizard while keeping the existing configuration. The wizard will regenerate docker-compose.yml from the Docker template.