You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| First command |`./openclaw doctor`|`./docker-setup.sh`|
1554
+
| Best if | First-time install | You've already cloned `openclaw/openclaw`|
1555
+
1556
+
---
1557
+
1558
+
#### Path A — Start via management tool (recommended)
1559
+
1497
1560
```bash
1498
1561
cd~/DEV/openclaw-workspace/openclaw-mgr
1499
1562
./openclaw doctor
@@ -1521,6 +1584,41 @@ If everything is ✓:
1521
1584
1522
1585
Open **http://localhost:8000** in your browser → OpenClaw UI.
1523
1586
1587
+
---
1588
+
1589
+
#### Path B — Direct first run (already cloned the openclaw repo)
1590
+
1591
+
> If you already ran `git clone https://github.com/openclaw/openclaw.git ~/DEV/openclaw`, one script handles everything: image build, initial config, and container startup.
1592
+
1593
+
```bash
1594
+
cd~/DEV/openclaw
1595
+
1596
+
# ① Run the setup script (interactive — one-time only)
1597
+
./docker-setup.sh
1598
+
```
1599
+
1600
+
The script will:
1601
+
1. Build the Docker image locally (`DOCKER_BUILDKIT=1 docker build`)
1602
+
2. Auto-generate the `.env` config file
1603
+
3. Print onboarding info (channel connections optional — skip if you want)
1604
+
4. Start the container: `docker compose up -d openclaw-gateway`
1605
+
1606
+
Verify after completion:
1607
+
```bash
1608
+
docker compose ps # State=running → OK
1609
+
docker compose logs -f --tail=50 # Live logs (Ctrl+C to exit)
1610
+
```
1611
+
1612
+
Open **http://localhost:8000** → UI appears.
1613
+
1614
+
> 💡 Day-to-day start/stop after this:
1615
+
> ```bash
1616
+
>cd~/DEV/openclaw
1617
+
> docker compose up -d # start
1618
+
> docker compose down # stop
1619
+
> docker compose logs -f # logs
1620
+
>```
1621
+
1524
1622
### Step 5b — Skip `openclaw install` and do everything manually (understand each step)
1525
1623
1526
1624
> 🎯 When `doctor` ends with **"⚠ N items unconfigured — './openclaw install' will fix them"**, follow this section if you'd rather **understand exactly what happens** instead of letting the script run.
0 commit comments