OpenClaw Docker Deployment Summary
OpenClaw Docker Deployment Summary
Bin LianOpenClaw Docker Deployment Summary
Date: 2026-03-01
Deployment Method: docker-setup.sh
Status: ✅ Successfully Deployed
Overview
OpenClaw was deployed using the Docker setup script with a local build. The deployment encountered and resolved a TypeScript compilation error during the Docker image build process.
Issue Encountered & Fixed
Problem
During the Docker image build, the TypeScript compiler failed with the following error:
1 | src/agents/pi-embedded-runner/extra-params.ts(338,7): error TS2353: |
Root Cause
The createOpenAIDefaultTransportWrapper function was passing the openaiWsWarmup property to the underlying() function, but SimpleStreamOptions type does not include this property.
Solution
Modified the type assertion to satisfy the function signature.
Deployment Steps Completed
- ✅ Built Docker image
openclaw:local - ✅ Ran interactive onboarding
- ✅ Set Control UI allowed origins
- ✅ Set
gateway.mode=localconfiguration - ✅ Started OpenClaw gateway container
Access Information
| Component | Details |
|---|---|
| Gateway URL | ws://0.0.0.0:18789 |
| Gateway Ports | 18789 (WebSocket), 18790 (Bridge) |
| Config Directory | ~/.openclaw |
| Workspace Directory | ~/.openclaw/workspace |
| Browser Control | http://127.0.0.1:18791/ |
Useful Commands
View Logs
1 | docker compose -f docker-compose.yml -f docker-compose.extra.yml logs -f openclaw-gateway |
Health Check
1 | docker compose -f docker-compose.yml -f docker-compose.extra.yml exec openclaw-gateway node dist/index.js health --token "YOUR_TOKEN" |
Channel Setup
1 | # WhatsApp (QR code login) |
Restart Gateway
1 | docker compose -f docker-compose.yml -f docker-compose.extra.yml restart openclaw-gateway |
References
- OpenClaw Documentation: https://docs.openclaw.ai
- Channels Documentation: https://docs.openclaw.ai/channels
Status: ✅ Production Ready
感谢你赐予我前进的力量|Thank you for your support!
赞赏者名单|List of supporters
因为你们的支持让我意识到写文章的价值🙏
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Bin|Brain|Bin!
评论
匿名评论隐私政策
✅ 你无需删除空行,直接评论以获取最佳展示效果









