FastClaw
Integration · Runtime

Run FastClaw agents in Docker sandboxes

Use Docker as FastClaw's sandbox backend to isolate agent commands on your own hardware — or deploy FastClaw itself with Docker Compose.

01

Local isolation

Agent exec and file tools run inside a container on your host, with skills and workspace hydrated automatically.

02

Bring your own image

Pick any image with the tools your agents need, such as python:3.12-slim, or build the bundled sandbox image.

03

Compose-ready deploy

The repo ships a docker-compose.yml that runs FastClaw with Postgres — bootstrap is env-only, no config file to mount.

What you can do

  • Give agents a safe place to run code and shell commands without touching your host — see the sandbox feature.
  • Expose code-running agents to a community while keeping the server locked down.
  • Need managed isolation instead? Use E2B.

Set it up

  1. Make sure Docker is running on the machine that runs FastClaw.
  2. In Admin → Tools → Runtime, enable the sandbox, choose Docker and set the image.
  3. Or use environment variables:
FASTCLAW_SANDBOX_ENABLED=true
FASTCLAW_SANDBOX_BACKEND=docker
FASTCLAW_SANDBOX_IMAGE=python:3.12-slim

To deploy FastClaw itself in containers, start from deploy/docker/docker-compose.yml in the FastClaw repo, which pairs it with Postgres.

Notes

Set FASTCLAW_SANDBOX_ENFORCE=1 on a self-hosted install to lock every exec and file call inside the sandbox.

Frequently asked questions

Try it on your own agents

Start free in FastClaw Cloud, or self-host the single binary in a minute.