Skip to Content
Amaru
Amaru LightOperate

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:

amaru.yaml
web:
  listen: 0.0.0.0:8765
podman 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:

Inspect the project: its agent instructions, build manifests and CI, and choose the agent CLI.
Extend the base image with the toolchain, the agent CLI and a gh credential helper.
Write amaru.yaml and the project file from examples/, with unattended agent args.
Build and run it with --init, -e GH_TOKEN and the port published on loopback, then sign the agent in inside the container.
Verify with 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

On this page