NuraMesh runs test-command gates (and later any command an agent runs) in a sandbox: a hardened
container with no network, a read-only system, no extra privileges, a non-root user, memory, CPU and
process limits, and a time limit NuraMesh enforces itself. The command gets a copy of the
workspace; your files are never changed. A timeout or a sandbox that can’t start is an error,
never a pass.
Prerequisites
Section titled “Prerequisites”- A team whose tasks have a test-command gate, for example the
my-teamfolder of the Quickstart. - The right to install software on this machine: Podman or Colima on a Mac, Podman or Docker Engine on Linux.
- Network access once, to pull the gate’s image. The command itself runs with no network.
- Install a container runtime and check that its
infocommand works: Install a container runtime. - Make sure the gate’s image is pinned by digest: Images.
- Run the team without
--allow-unsandboxed:nuramesh try my-team --fake --approve-as human:you.
Install a container runtime (free)
Section titled “Install a container runtime (free)”On a Mac (Apple Silicon), use Podman or Colima. Docker Desktop works but is not required and is not the recommended path (its licence is paid for larger companies).
# Podmanbrew install podmanpodman machine initpodman machine startpodman info # should print details, not an error
# or Colima (gives you a `docker` command backed by a small VM)brew install colima dockercolima startdocker infoOn Linux, install Podman or Docker Engine from your distribution.
NuraMesh looks for podman first, then docker, and uses the first one whose info works.
No runtime, no run
Section titled “No runtime, no run”Without a runtime, a test-command gate refuses to run; it never falls back to your machine.
For local experiments only, there is an opt-out (--allow-unsandboxed on nuramesh try, or allow_unsandboxed=True in open_sandbox). It prints a loud warning, records sandbox.opt_out in the run’s ledger and
runs the command on your machine in a copy of the workspace, with only time and output limits.
Hosted mode refuses both: command execution stays closed there until a stronger sandbox tier is
chosen.
Images
Section titled “Images”Gate images must be pinned by digest (docker.io/library/python@sha256:…), because a tag like
python:3.12 can change under you. Find a digest with
podman image inspect --format '{{index .RepoDigests 0}}' python:3.12-slim after pulling it.
NuraMesh pulls a missing image before the run (outside the sandbox); the command itself has no
network.
Check it worked
Section titled “Check it worked”The run prints no sandbox warning, and its ledger has no sandbox.opt_out entry. In the report, the test_command gate line reads passed by gate:test_command.
Troubleshooting
Section titled “Troubleshooting”| You see | Do this |
|---|---|
| The test gate refuses to run | No runtime was found. NuraMesh looks for podman, then docker, and uses the first one whose info works. Start the Podman machine or Colima |
The gate result is error, not failed |
The sandbox could not start, or the command passed its time limit. An error is never a pass: read the gate line for the reason |
| The image is refused | A gate image must be pinned by digest (...@sha256:...), not by tag |
podman info prints an error |
The machine is not running: podman machine start |
Next steps
Section titled “Next steps”- Add a gate: put a test command in front of a task.
- Security model: what the sandbox is one part of.
- Run a team.
Was this page helpful?