Repository navigation
EN Providers Docker Create Sandbox
lkmavi edited this page Sep 24, 2026
·
1 revision
whaleshell sandbox create \
--name demo \
--workspace "$PWD" \
--policy whaleshell-cli/policies/default.yaml \
--memory 2gWith an agent image and credential providers:
whaleshell sandbox create \
--name cursor \
--from cursor \
--workspace "$PWD" \
--policy /path/to/policy.yaml \
--provider cursor \
--provider gh \
--memory 2gwhaleshell sandbox list
whaleshell sandbox status demo
whaleshell sandbox exec demo -- uname -a
whaleshell sandbox connect demo # interactive bash -il
whaleshell sandbox stop demo
whaleshell sandbox start demo
whaleshell sandbox delete demoDelete removes the sandbox container, proxy sidecar, network, and labeled volumes.
- Resolves image (
--image/--from/ default). - Ensures Engine images (sandbox + slim proxy base).
- Creates
whaleshell-net-<name>(internal when proxy is on). - Starts
whaleshell-proxy-<name>fromdebian:bookworm-slim(override:WHALESHELL_PROXY_IMAGE). - Creates and starts
whaleshell-<name>with policy, workspace bind, optional data volume, CPU/memory/PIDs limits. - Registers with the gateway when configured.
Bake sizing into a reusable template (OpenShell-style):
whaleshell sandbox template create \
--name desk \
--from cursor \
--memory 2g \
--cpu 2 \
--pids-limit 2048
whaleshell sandbox create --template desk --name worker --workspace "$PWD"Flag values override template fields. Soft defaults from config/env fill gaps only when flags and template omit them — see Resources.
- EN-Home
- Get started
- Concepts
- Providers
- Guides
- Reference
- EN-Summary
- RU-Home
- Старт
- Концепты
- Провайдеры
- Гайды
- Справка
- RU-Summary