OpenClaw Docker Setup Wizard

Generate copy-pasteable bash scripts for Windows (Git Bash), Linux, or Mac

View on GitHub
1 OS
2 Config
3 Channels
4 Script

Select Your Operating System

Choose the operating system you're installing on. This affects path formatting and shell compatibility.

🪟

Windows (Git Bash)

Windows with Git Bash, WSL, or similar Unix-like shell

🐧

Linux

Ubuntu, Debian, Fedora, or other Linux distributions

🍎

macOS

Mac with Terminal or iTerm2

Where the OpenClaw repository will be cloned and set up

Use this if you're already running this script inside the openclaw repository

Configuration Options

Customize your Docker setup with optional configurations.

Mount additional host directories into containers (e.g., for project access)

Mount additional host directories into containers

Create a named volume for /home/node to persist data across container recreations

Install system packages inside the image (e.g., ffmpeg, build tools)

Click to add suggested packages or type custom ones

ffmpeg build-essential git curl jq vim nano wget python3 nodejs npm chromium
No packages selected

Install Homebrew inside the container (non-interactive).

Install shell helpers for easier Docker management (clawdock-start, clawdock-stop, etc.)

Build the sandbox image for isolated tool execution

Install Chromium via Playwright inside the container (without npx). Automatically persists browser downloads.

Channel Setup (Optional)

Configure messaging channels for your OpenClaw gateway. You can also do this later.

Configure WhatsApp via QR code scan

Configure Telegram bot

Configure Discord bot

Your Installation Script

Save this script to a file and run it in your terminal to install OpenClaw with Docker.

install-openclaw.sh
#!/bin/bash

# OpenClaw Docker Installation Script
# Generated by OpenClaw Docker Setup Wizard

set -e

echo "Starting OpenClaw Docker installation..."

# Clone repository
git clone https://github.com/openclaw/openclaw.git
cd openclaw

# Run setup script
./docker-setup.sh

echo "Installation complete!"
echo "Open http://127.0.0.1:18789/ in your browser"
echo "Use the token shown above to authenticate"

Next Steps

  1. Save the script above to a file (e.g., install-openclaw.sh)
  2. Run chmod +x install-openclaw.sh to make it executable
  3. Run ./install-openclaw.sh in your terminal or Git Bash
  4. Open http://127.0.0.1:18789/ in your browser
  5. Paste the generated token into the Control UI (Settings → Token)