How to install Openclaw on Windows 11 (Docker)?
I've organized a Docker-compose.yaml configuration file that I use. You can directly use it and start it up.
Rendering...
## Installation
I've organized my configuration files for you to use directly.
Install and start using the following Docker-compose.yaml directly (if you're unfamiliar with Docker or Docker-compose, please learn it yourself; this article will not cover it).
> Tip: You can also choose other versions of the image. Simply modify the version number in the two instances of `image: ghcr.io/openclaw/openclaw:2026.5.7-slim`. It is recommended that you find and select the version number yourself: [github-openclaw-docker](https://github.com/openclaw/openclaw/pkgs/container/openclaw)
```yaml
services:
openclaw-gateway:
image: ghcr.io/openclaw/openclaw:2026.5.7-slim
container_name: openclaw-gateway
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway" # Allows Linux containers to access the host machine via this domain name
ports:
- "18789:18789"
volumes:
- ./config:/home/node/.openclaw
- ./workspace:/home/node/.openclaw/workspace
environment:
- OPENCLAW_GATEWAY_BIND=lan
# It is recommended to not set a Token during initial startup and change it later in the UI, or pre-set it here:
- OPENCLAW_GATEWAY_TOKEN=xxxx
openclaw-cli:
image: ghcr.io/openclaw/openclaw:2026.5.7-slim
container_name: openclaw-cli
network_mode: "service:openclaw-gateway"
volumes:
- ./config:/home/node/.openclaw
profiles:
- cli-only
```
## Initialization
After successful installation, you can directly access your service at http://localhost:18789 to enter the Web UI. Here, you can manage Openclaw, such as configuring AI service providers and installing Skills.
If you are not comfortable using the Web UI, you can also manage it via the command line. However, you will need to enter the Docker container to execute Openclaw-related commands. I won't elaborate further here; please refer to the official Openclaw documentation if needed! [docs-openclaw](https://docs.openclaw.ai/)Comments
Please login to view and post comments
Go to Login