Run in a container
Run Amaru Light from its base container image with settings and state on volumes, and derive a per-project image with your agent CLI and toolchain.
A container is the recommended way to run the daemon: worktrees separate changes but are not a sandbox. This page covers the base image and a per-project image derived from it.
Before you begin
Podman or Docker, the base image (make image, or ghcr.io/amaru-oss/amaru-light), and a bot
token; see GitHub access.
The base image
The base image (Fedora Minimal) contains amaru, amaru-guard, Git, the GitHub CLI, common shell
tools for the agents (patch, rg, find, jq, which, ps, less, tar, gzip,
unzip) and ripwire, a code map tool. The entrypoint
activates the ripwire skills for Claude Code and Codex at each start; AMARU_RIPWIRE_SKILLS=0
skips it.
By default the image runs amaru --config /config/amaru.yaml serve. Mount your settings at
/config and a volume at /data, with state_dir: /data.
Reach the web interface
Listen on all interfaces inside the container and publish the port on the host's loopback only:
web:
listen: 0.0.0.0:8765podman run ... -p 127.0.0.1:8765:8765 ...A per-project image
The base image has no agent CLI or project toolchain. Derive one image per project:
gh credential helper.amaru.yaml and the project file from examples/, with unattended agent args.--init, -e GH_TOKEN and the port published on loopback, then sign the agent in inside the container.amaru doctor, then claim a small issue with claim --now.The full walkthrough, written so a coding agent can follow it, is docs/building-project-containers.md.
Based on README.md and docs/building-project-containers.md.
Next steps
- Web interface: secure the published port.
- Troubleshooting: container-specific fixes.
GitHub access
Set up the Amaru Light bot account, choose its token for direct or fork pushes, connect Git credentials and set the author of the bot's commits.
Web interface
The web interface built into amaru serve, covering its pages and actions, its settings, and how to secure access with an SSH tunnel or AMARU_WEB_TOKEN.