Sandbox

When Dupli runs shell commands on your host, it asks for approval first. If you’d rather never run agent commands on your machine at all, start with --sandbox and every shell command executes inside Docker instead.

dupli --sandbox

How it works

Each command runs in a fresh container:

docker run --rm \
  --workdir /workspace \
  -v /abs/path/to/project:/workspace \
  ubuntu:24.04 \
  sh -c "cargo test"
{ "sandbox": true, "sandboxImage": "rust:1-bookworm" }

Notes