12345curl -fsSL https://tools.yshubham.com/sandbox/setup.sh | sh sandbox config set-server https://sandbox.example.com export SANDBOX_TOKEN='read-from-your-secret-store' sandbox doctor
SANDBOX_URL or
--server for a one-off target, and keep the bearer token in an environment or
secret store rather than shell history.123456789sandbox create \ --tenant platform \ --image ubuntu:24.04 \ --cpu-millis 2000 \ --memory-mib 4096 \ --ttl 3600 \ --network restricted \ --untrusted-repo \ --generated-code
isolation: auto unless policy specifically requires microvm. A client
must never weaken a server isolation decision to find capacity.-- remain argv. They are not interpolated into a shell,
which makes the execution boundary easier to audit.123sandbox exec "$SANDBOX_ID" --cwd /workspace --timeout 900 -- cargo test --workspace sandbox inspect "$SANDBOX_ID" sandbox delete "$SANDBOX_ID"
truncated flag.
A transport-success result does not prove the remote command succeeded.
Delete disposable environments when their work ends; TTL is a backstop, not a
cleanup policy.sandbox http PORT for a local development server and keep the command
attached until sharing should stop. For a service inside a managed Sandbox,
bind it to 0.0.0.0 and use a controller-managed tunnel.12sandbox http 3000 sandbox tunnel create "$SANDBOX_ID" --port 3000
--no-wait is useful only when the caller will save the
operation ID and inspect it with sandbox wait rather than retry blindly.