OpenClaw

OpenClaw

官方

Docker 应用程序 from Selfhosters

概述

OpenClaw is a powerful AI assistant gateway that connects Claude and other LLMs to messaging platforms like Discord, Telegram, WhatsApp, and more. Features include file access, shell commands, web browsing, cron jobs, and a web-based Control UI. To access the Control UI, add your token to the URL: http://YOUR-IP:18789/?token=YOUR-GATEWAY-TOKEN For setup details and documentation, see: https://github.com/jdhill777/openclaw-Unraid OpenClaw project and source: https://github.com/openclaw/openclaw Requires at least one LLM API key. Anthropic (Claude) is recommended, but many providers are supported. Optional Homebrew: Some skills require tools installed via brew/go. This is completely optional and at your own discretion. If needed, open OpenClaw's container console and run: NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" We recommend reviewing the install script at brew.sh before running. You can ignore the "Next steps" output - the template has already configured the PATH for you.

运行时参数

网络用户界面
http://[IP]:[PORT:18789]/
网络
bridge
外壳
sh
特权
false
额外参数
--user root --hostname OpenClaw

模板配置

Control UI PortPorttcp

Port for Control UI and Gateway API. Access at http://IP:18789/?token=YOUR_TOKEN

目标
18789
默认值
18789
价值
18789
Config PathPathrw

Path to store OpenClaw configuration files, sessions, and credentials

目标
/root/.openclaw
默认值
/mnt/user/appdata/openclaw/config
价值
/mnt/user/appdata/openclaw/config
Workspace PathPathrw

Path for agent workspace (files, memory, AGENTS.md, projects)

目标
/home/node/clawd
默认值
/mnt/user/appdata/openclaw/workspace
价值
/mnt/user/appdata/openclaw/workspace
Projects PathPathrw

Optional additional path for coding projects

目标
/projects
默认值
/mnt/user/appdata/openclaw/projects
价值
/mnt/user/appdata/openclaw/projects
Homebrew PathPathrw

Persistent storage for Homebrew packages. If you install Homebrew manually via console, this mount ensures it persists across restarts.

目标
/home/linuxbrew/.linuxbrew
默认值
/mnt/user/appdata/openclaw/homebrew
价值
/mnt/user/appdata/openclaw/homebrew
Gateway TokenVariable

Secret token for authentication. Generate with: openssl rand -hex 24 (or use any secret value). Required to access the Control UI.

目标
OPENCLAW_GATEWAY_TOKEN
Anthropic API KeyVariable

API key for Claude models (recommended). Get from console.anthropic.com

目标
ANTHROPIC_API_KEY
OpenAI API KeyVariable

API key for GPT models. Get from platform.openai.com

目标
OPENAI_API_KEY
OpenRouter API KeyVariable

API key for OpenRouter - access 100+ models. Get from openrouter.ai

目标
OPENROUTER_API_KEY
Gemini API KeyVariable

API key for Google Gemini models. Get from aistudio.google.com

目标
GEMINI_API_KEY
Groq API KeyVariable

API key for Groq (fast Llama/Mixtral inference). Get from console.groq.com

目标
GROQ_API_KEY
xAI API KeyVariable

API key for xAI Grok models. Get from console.x.ai

目标
XAI_API_KEY
Z.AI API KeyVariable

API key for Z.AI/Zhipu GLM models. Get from z.ai/model-api

目标
ZAI_API_KEY
GitHub Copilot TokenVariable

(Advanced) GitHub Copilot OAuth token. Requires running 'openclaw models auth login-github-copilot' on another machine first.

目标
COPILOT_GITHUB_TOKEN
Discord Bot TokenVariable

(Optional) Discord bot token for Discord integration. Can also configure via Control UI after install.

目标
DISCORD_BOT_TOKEN
Telegram Bot TokenVariable

(Optional) Telegram bot token from @BotFather. Can also configure via Control UI after install.

目标
TELEGRAM_BOT_TOKEN
Gateway PortVariable

Internal gateway port. Change if 18789 is already in use (must match Control UI Port).

目标
OPENCLAW_GATEWAY_PORT
默认值
18789
价值
18789
PATHVariable

System PATH including Homebrew. Do not modify unless you know what you're doing.

默认值
/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/root/.bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
价值
/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/root/.bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Web Search API KeyVariable

(Optional) Brave Search API key for web search. Free tier: 2000 queries/month at brave.com/search/api

目标
BRAVE_API_KEY

详细信息

存储库
ghcr.io/openclaw/openclaw:latest
最后更新2026-05-31
初见2026-02-03

在Unraid 上运行 OpenClaw 。

OpenClaw 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。