Files
OpenShell/examples/openclaw.md
Vinicius Corrêa 8c4b17221c Missed input parameter (#645)
Missed "--from openclaw" input parameter.

Without this input sandbox container didn't install "openclaw":
'Stop with: openshell forward stop 18789 eager-dragonfly
'/bin/bash: line 1: openclaw-start: command not found
2026-03-30 13:50:25 -07:00

38 lines
928 B
Markdown

# OpenClaw Sandbox
## Quick start
```sh
openshell sandbox create --forward 18789 --from openclaw -- openclaw-start
```
`openclaw-start` is a helper script pre-installed in the sandbox that runs the
onboarding wizard, starts the gateway as a background daemon, and prints the
access URL.
The CLI returns automatically once the script finishes; the port
forward continues running in the background.
Once the command completes, the gateway is accessible locally:
- **Control UI:** http://127.0.0.1:18789/
- **Health check:** `openclaw health`
Note: you will need use the auth token present in the bootstrapping process to connect to the endpoint.
## Step-by-step alternative
### Create the sandbox
```sh
openshell sandbox create --forward 18789 --from openclaw
```
Inside the sandbox, run the onboarding wizard and start the gateway:
```sh
openclaw onboard
nohup openclaw gateway run > /tmp/gateway.log 2>&1 &
exit
```