Configuration and runtime
Docker containers and images
Complete guide to Muteki's five container images (muteki-web, curated and heavy muteki-worker, src-egress, and src-browser), Compose dual-container architecture, permissions, and local build flags.
On this page
- 1. Container image overview
- 2. Inside the curated muteki-worker image
- 3. Worker container privileges, scope, and quotas
- 4. Docker Compose dual-container architecture
- 5. Local builds and mirror options
- Curated Worker image (muteki-worker:latest)
- Heavy layer (muteki-worker-heavy:latest)
- Local muteki-web:latest image
- 6. SRC isolation containers (managed automatically)
Muteki's container architecture spans the Web service image, curated and heavy Worker images, and managed SRC isolation containers. All Docker recipes live under docker/ in the main repository, and official multi-arch (linux/amd64 and linux/arm64) images are published via release-images.yml.
1. Container image overview#
| Image / recipe | Tag | Base & contents | How it is built / updated |
|---|---|---|---|
docker/web/Dockerfile | ghcr.io/fishcodetech/muteki-web:v0.5.2 / muteki-web:latest | ubuntu:24.04 + docker:cli + standalone Web package (Node + muteki-server); runs web or runner | Official releases or ./docker/web/build.sh |
docker/worker/Dockerfile | ghcr.io/fishcodetech/muteki-worker:v0.5.2 / muteki-worker:latest | Pinned-digest kalilinux/kali-rolling + Node 24.14.0 + 9 pinned CLIs + chromium-headless-shell + chisel + Python tools + 5 pinned knowledge repos + Go static runtime_agent | Official releases or ./docker/worker/build.sh |
docker/worker/Dockerfile.heavy | muteki-worker-heavy:latest | Layered atop muteki-worker: adds Miniforge, Python 3.13, SageMath, and an isolated venv for angr and Volatility3 | Built locally on top of verified muteki-worker |
docker/src-egress/Dockerfile | muteki-src-egress:latest | python:alpine + iptables / ip6tables + iproute2 + HTTP proxy gateway for SRC authorization & traffic capture | Auto-built & refreshed by the Rust server via source_digest |
docker/src-browser/Dockerfile | muteki-src-browser:latest | node:latest + chromium + agent-browser for controlled SRC browser sessions behind src-egress | Auto-built & managed by the Rust server via source_digest |
2. Inside the curated muteki-worker image#
- Nine pinned CLI engines: Claude Code, Codex, Cursor, Pi, OMP, Kimi, Grok, OpenCode, and Droid. Versions are pinned in
docker/worker-common/engines.json, checked againstcrates/server/src/agent_runtime/minimum_versions.jsonviacapabilities.py --check-pinsprior to installation, and verified with--versionpost-build (io.muteki.capabilities.schema=1). Host-only engines (Devin and Antigravityagy) are not inside the container image. - Browser & tunneling: System
chromium-headless-shell(linked as/usr/bin/chromium),agent-browser,playwright(browser_coord.py), and static multi-archchiselbinaries (/usr/share/chisel-common-binaries/). - Security tooling & Python libs: Curated Kali packages from
docker/worker/curated-packages.txt(including optional recon toolssubfinder,httpx-toolkit,dnsx,katana,dalfox,gitleaks), plus verified Python packagespwn,z3,sympy,gmpy2, andpycryptodome. - Pinned knowledge bases & micro wordlists: Shallow-cloned pinned commits (
PayloadsAllTheThings,InternalAllTheThings,Awesome-POC,vulhub, andnuclei-templates, indexed at/home/kali/KNOWLEDGE_INDEX.txt) plus/usr/share/wordlists/ctf-micro/. - Agent runtime & blackboard: Static Go
/opt/muteki/runtime_agententrypoint and/usr/local/bin/blackboard.py.
3. Worker container privileges, scope, and quotas#
- Container
rootexecution: Worker containers launch explicitly with--user 0:0;runtime_agentand all Agent child processes run as container UID/GID0(root). Workspace file ownership can be handed back to the host Runner user without changing Agent execution privileges. - Linux capabilities: Keeps Docker's default capabilities plus
NET_ADMINandSYS_PTRACE(for network utilities, routing, andgdb/stracedebugging). Does not enable--privilegedand no longer imposescap-drop ALLorno-new-privileges. - Isolation boundaries: All Workers inside the same run (or across runs when using Shared container scope) execute under the same container user and can read each other's workspace files and injected credentials. For stronger kernel isolation, configure a custom OCI runtime (such as
runscgVisor orkata) under Worker settings → Runtime. - Resource quotas: Override container Memory, CPU, PIDs limit, Per-command output cap, and Workspace disk limit under Worker settings → Runtime. Changes apply to newly created containers; active runs keep the frozen image digest and quotas from creation time.
4. Docker Compose dual-container architecture#
docker-compose.release.yml and docker-compose.web.yml run two containers from the muteki-web image:
runner: Overrides entrypoint to["/opt/muteki/bin/muteki-server", "runner"], is the only container mounting/var/run/docker.sock, listens on${MUTEKI_HOST_DATA_ROOT}/state/runner/control.sock, and serves sibling Workers viaMUTEKI_CONTROL_CONNECT_HOST: runner.web: Waits forrunnerhealthcheck, mounts${MUTEKI_HOST_DATA_ROOT}/state/runnerread-only, connects viaMUTEKI_RUNNER_SOCKET, and binds host127.0.0.1:3101by default.
Browser ──(HTTP :3101)──▶ web container (Next UI + Rust API, no Docker socket)
│
│ control.sock (:ro) + ${MUTEKI_HOST_DATA_ROOT}
▼
runner container (mounts /var/run/docker.sock)
│
├──▶ muteki-worker containers (Bridge / Host network)
└──▶ muteki-src-egress / muteki-src-browser containers5. Local builds and mirror options#
Curated Worker image (muteki-worker:latest)#
# Run at repo root (auto-detects host arch, or pass image repo and amd64/arm64)
./docker/worker/build.shbuild.sh automates:
- Syncing
engines.json/minimum_versions.jsonand cross-compiling static Gocmd/runtime-agent(falling back togolang:latestif Go is not installed on the host). - Rewriting
127.0.0.1/localhostinHTTP_PROXY/HTTPS_PROXY/ALL_PROXYtohost.docker.internalfordocker build. - Running
scripts/verify_worker_image.shagainst all 9 container engines and core tools, recording versions indocker/worker/.last-engine-versions.txt.
Custom mirrors can be passed via environment variables:
MUTEKI_KALI_MIRROR=https://mirrors.tuna.tsinghua.edu.cn/kali \
MUTEKI_NODE_MIRROR=https://npmmirror.com/mirrors/node \
MUTEKI_NPM_REGISTRY=https://registry.npmmirror.com \
./docker/worker/build.shHeavy layer (muteki-worker-heavy:latest)#
docker build \
--build-arg WORKER_IMAGE=muteki-worker:latest \
-f docker/worker/Dockerfile.heavy \
-t muteki-worker-heavy:latest \
docker/workerangr (10.0.5) and volatility3 (2.28.2) are isolated inside /opt/muteki/heavy-python/bin/python (with vol linked to /usr/local/bin/vol) so they do not conflict with SageMath (/usr/local/bin/sage) or system Python.
Local muteki-web:latest image#
node scripts/package-web.mjs
./docker/web/build.sh ./dist/Muteki-Web-0.5.2-linux-amd64.tar.gz6. SRC isolation containers (managed automatically)#
When using the SRC bounty workbench, the Rust server embeds the docker/src-egress/ and docker/src-browser/ build contexts and automatically builds or refreshes containers whenever muteki.src.source_digest changes:
muteki-src-egress:latest: Alpine +iptables/ip6tables+ dual-layer HTTP/HTTPS proxy gateway enforcing scope allowlists,excluded_targetsblocks, upstream proxy pools, and HTTP traffic capture.muteki-src-browser:latest: Node + Chromium +agent-browserwired to the egress gateway so interactive research stays within authorized network boundaries.

