Docker
Running OpenClaw with Docker. Based on official Docker.
Using the image
The repo provides Dockerfile and docker-compose. After cloning:
bash
git clone https://github.com/openclaw/openclaw.git
cd openclaw
# See docker-compose.yml and docs in the repo
docker-compose up -dExact steps, env vars, and volume mounts are in the repo’s docs or README.
Notes
- Gateway needs persistent config and state (e.g.
~/.openclaw) - Channel credentials (from login) must be mounted or injected
- Expose the dashboard port (e.g. 18789) if you want to access it from the host