sandboxrouter
← Providers

Docker (local)

provider: "docker"

Runs on your own machine; free, but shares your kernel, so weaker isolation than a cloud micro-VM.

List price per hour

1 vCPU · 2 GBfree
2 vCPU · 4 GBfree
4 vCPU · 8 GBfree
8 vCPU · 16 GBfree
16 vCPU · 32 GBfree
32 vCPU · 128 GBfree
Source
docs.docker.com, 2026-11-04 (an estimate, not a bill)

Adapter

Supports
Exec + streaming · Files · Pause · Custom image
Max size
64 vCPU · 256 GB
Routing
Only when you ask for it by name

Real-account check, step by step

14 of 14 steps passed on a real account, 2026-11-13 (v0.7.0).

  • createpassed
  • exec: stdout, stderr, exit codepassed
  • exec: env and cwdpassed
  • exec: UTF-8 outputpassed
  • exec: streamingpassed
  • files: binary round-trippassed
  • files: 1 MB round-trippassed
  • files: missing file is an errorpassed
  • files: visible to commandspassed
  • exec: command timeoutpassed
  • exec: timed-out command was stoppedpassed
  • pause and resumepassed
  • killpassed
  • killed sandbox is gonepassed
setup
npm i @sandboxrouter/sdk
# no key needed: start Docker on this machine
use Docker (local)
import { Router } from "@sandboxrouter/sdk";

const router = new Router();
const sbx = await router.create({}, { provider: "docker" });
await sbx.exec("uname -a", { onStdout: (c) => process.stdout.write(c) });
await sbx.kill();