Version: OpenClaw 2026.4.26
Config:
"agents": {
"defaults": {
"sandbox": {
"mode": "off",
"workspaceAccess": "rw"
}
}
}
Behaviour:
With sandbox.mode: "off", OpenClaw still runs a Docker capability check (docker image inspect) at the start of every isolated session (cron jobs, heartbeats, sub-agents). When the Docker daemon isn't running, this throws:
Error: Failed to inspect sandbox image: failed to connect to the docker API
at unix:///Users/macmini/.orbstack/run/docker.sock
This error propagates as a model call failure, causing isolated sessions to either fail completely or burn a fallback model slot.
Expected behaviour:
sandbox.mode: "off" should mean zero Docker interaction β no probes, no checks, nothing.
Confirmed via source code:
shouldSandboxSession() in runtime-status-C_nvYxR5.js correctly returns false for mode: "off", and resolveSandboxSession() returns null, so resolveSandboxContext() should return null early. Yet the Docker probe still fires, suggesting a separate code path is calling dockerImageExists() outside the sandbox context.
Impact:
Any setup without Docker running (e.g. non-Docker macOS installs) gets error noise on every cron/isolated session run, with some sessions failing entirely.