Skip to content

RU Get Started First Sandbox

lkmavi edited this page Sep 24, 2026 · 1 revision

Первый sandbox

Нужен работающий провайдер вычислений и обычно выбранный gateway (Установка).

Create

whaleshell sandbox create \
  --name demo \
  --workspace "$PWD" \
  --policy whaleshell-cli/policies/default.yaml \
  --memory 2g
Флаг Роль
--name Id sandbox (контейнер whaleshell-<name>)
--workspace Каталог хоста → /workspace
--policy Базовый YAML политики
--memory Рекомендуется на Desktop; опционально

Без --from / --image берётся локальный base-образ sandbox.

Exec и connect

whaleshell sandbox list
whaleshell sandbox status demo
whaleshell sandbox exec demo -- uname -a
whaleshell sandbox connect demo          # bash -il

Stop, start, delete

whaleshell sandbox stop demo
whaleshell sandbox start demo
whaleshell sandbox delete demo

Delete удаляет sandbox, proxy sidecar, сеть и помеченные data volumes. Секреты провайдеров в gateway остаются, пока не удалите provider или data gateway.

С credentials

GITHUB_TOKEN=… whaleshell provider create --name gh --type github --credential GITHUB_TOKEN

whaleshell sandbox create \
  --name demo \
  --workspace "$PWD" \
  --policy whaleshell-cli/policies/default.yaml \
  --provider gh \
  --memory 2g

См. Credential-провайдеры и Cursor Agent.

Наблюдение

whaleshell logs demo --tail --source proxy
whaleshell term

Далее

→ New docs site

whaleshell

English

Русский

Clone this wiki locally