Repository navigation
RU 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 2gС образом агента и credential-провайдерами:
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 # интерактивный bash -il
whaleshell sandbox stop demo
whaleshell sandbox start demo
whaleshell sandbox delete demoDelete удаляет sandbox, proxy sidecar, сеть и помеченные volumes.
- Резолвит образ (
--image/--from/ default). - Подтягивает образы Engine (sandbox + slim proxy).
- Создаёт
whaleshell-net-<name>(internal при включённом proxy). - Стартует
whaleshell-proxy-<name>изdebian:bookworm-slim(WHALESHELL_PROXY_IMAGEдля override). - Создаёт и стартует
whaleshell-<name>с политикой, bind workspace, опциональным data volume, лимитами CPU/memory/PIDs. - Регистрирует sandbox в gateway при наличии.
Фиксируйте sizing в template (как в OpenShell):
whaleshell sandbox template create \
--name desk \
--from cursor \
--memory 2g \
--cpu 2 \
--pids-limit 2048
whaleshell sandbox create --template desk --name worker --workspace "$PWD"Флаги перекрывают поля template. Soft defaults из config/env заполняют только пустые поля — см. Ресурсы.
- EN-Home
- Get started
- Concepts
- Providers
- Guides
- Reference
- EN-Summary
- RU-Home
- Старт
- Концепты
- Провайдеры
- Гайды
- Справка
- RU-Summary