Ralph Workflow Now Ships with Docker: One Command to an AI Coding Orchestrator
Ralph Workflow gets a Docker install surface — multi-stage build, 465MB image, zero Python knowledge required. Build and run your AI coding workflow in a container.
Codeberg-first
Ralph Workflow is free and open source. Inspect the primary repo on Codeberg before you install — or jump to the GitHub mirror.
Ralph Workflow just got a new install path — a multi-stage Docker image that drops the friction of Python toolchains and lets you spin up an AI coding orchestrator in one command.
If you have Docker installed, you are now two minutes from running your first unattended coding task:
git clone https://codeberg.org/RalphWorkflow/Ralph-Workflow.git
cd Ralph-Workflow/ralph-workflow
docker build -t ralph-workflow .
docker run --rm -it -v "$(pwd):/workspace" -v "$HOME/.ralph:/root/.ralph" ralph-workflow
No Python, no pip, no venv. The image bundles everything Ralph Workflow needs — the orchestrator CLI, the verification engine, the recovery loop — into a 465MB container that works on any machine with Docker.
Why Docker matters for an AI coding workflow
Running AI coding agents locally has a dependency problem. You need Python, git, the right model CLI (Claude Code, Codex, OpenCode), and often a specific version of each. A missing dependency or version mismatch can turn "run overnight" into "debug the toolchain until 2 AM."
A Docker image solves this by being a reproducible, self-contained environment. It also opens doors that a pip package alone cannot:
CI/CD pipelines. GitHub Actions, GitLab CI, or any container-based CI system can now run Ralph Workflow as a step — no Python setup required. Schedule overnight runs from your pipeline, not your laptop.
Air-gapped environments. Build the image once, transfer it to a machine without internet access, and run autonomous coding tasks there. The container carries its own runtime.
Team standardization. Pin a specific Ralph Workflow version in a Dockerfile and every developer on the team runs the exact same orchestrator. No more "it worked on my machine" for your AI coding workflow.
Ephemeral task workers. Spin up a container per task, let it run, collect the result, throw away the container. Clean isolation with zero leftover state.
What is in the image
The Dockerfile uses a three-stage build to keep the final image lean:
- Stage 1 fetches the
uvPython package manager binary - Stage 2 resolves and installs Ralph Workflow and all its dependencies into a virtualenv
- Stage 3 copies only the virtualenv into a clean
python:3.13-slimbase, addsgit(required for repo operations), and exposesralph,ralph-mcp, andralph-promptas entrypoints
The result: a 465MB image that starts in under a second and includes all three Ralph Workflow CLI entry points.
Two volume mounts, one command
The container needs two bind mounts to work:
| Mount | Purpose |
|---|---|
$(pwd):/workspace |
The git repo Ralph Workflow will work inside (your project) |
$HOME/.ralph:/root/.ralph |
Ralph Workflow's config directory (model keys, settings, task queue) |
That is it. The image has no secrets baked in — everything comes from your host.
The install surface portfolio
With Docker, Ralph Workflow now has four install paths:
- pipx — recommended for most users, clean system-wide install
- PyPI — standard
pip install ralph-workflow - Docker — zero-dependency container, CI/CD-friendly
- From source —
git clone+pip install -e .
Each path serves a different workflow. Docker serves the one where you want reproducibility, CI/CD integration, or a clean environment without touching your local Python setup.
Try it
The Dockerfile is in the Ralph-Workflow repo on Codeberg. Clone it, build it, and run your first overnight task in a container.
If something breaks or you have a feature request, open an issue on Codeberg. The project is AGPLv3 — open source, vendor-neutral, and actively maintained.
Related Posts
CI/CD Pipeline for AI Coding Agents: Running Autonomous Code Generation in Your Build System
How to wire an AI coding agent into your existing CI/CD pipeline — running autonomous code generation as part of your build, with gates, rollback, and human-in-the-loop approval.
The Overnight Coding Agent Pattern: Run AI Code Generation While You Sleep
The overnight coding agent pattern decouples AI code generation from developer attention. Learn how to run multi-agent coding pipelines unattended and wake up to reviewable, tested output — not a chat log.
Testing AI-Generated Code: A Strategy for Reviewing Autonomous Coding Output
Most articles cover how to run AI coding agents, but skip the hardest part: how to actually test and validate what they produce. Practical strategies for differential testing, property-based tests, and the review-budget concept.
Best evaluator path
Turn the idea into a real overnight test, not another saved tab.
Codeberg-first: open the primary repo, choose one bounded backlog task, run it tonight, and ask one question tomorrow morning — would I merge this? GitHub stays available as the mirror.
Open the primary Codeberg repo
Read the public source before you install anything.
Pick a first task
Use the guide to choose a bounded backlog item that is honest to review.
Install and run Ralph Workflow
Keep the machine awake, then decide in the morning whether the diff is good enough to merge.