Basic openclaw image
137
-e Environment Variables (entrypoint.sh)OPENCLAW_GATEWAY_PORT : Gateway port inside the container. Default: 18789
-e OPENCLAW_GATEWAY_PORT=18789OPENCLAW_GATEWAY_TOKEN : Gateway auth token. If provided, it is used as-is. If not provided, the entrypoint generates one via openssl rand -hex 32, then saves it to /root/.openclaw/gateway.token and reuses it on later runs.
-e OPENCLAW_GATEWAY_TOKEN=xxxxxxxxLLM_PLATFORM : LLM provider selector. In the current entrypoint, only openai is handled explicitly (it writes OPENAI_API_KEY internally).
openai (OpenAI API + Codex)anthropic (Claude API)openrouter (OpenRouter)litellm (LiteLLM unified gateway)bedrock (Amazon Bedrock)vercel (Vercel AI Gateway)together (Together AI)cloudflare (Cloudflare AI Gateway)moonshot (Moonshot AI / Kimi)venice (Venice AI)ollama (local models)qwen (Qwen OAuth)-e LLM_PLATFORM=openaiLLM_MODEL : Model name.
gpt-5-mini, it is normalized to openai/gpt-5-mini.openai/<model>, it is used as-is.gpt-5-mini (effective: openai/gpt-5-mini)-e LLM_MODEL=gpt-5-miniLLM_API_KEY : API key for the selected provider. When LLM_PLATFORM=openai, it is written to OPENAI_API_KEY in /root/.openclaw/.env.
-e LLM_API_KEY=sk-...BRAVE_SEARCH_ENABLED : Enables Brave Search key injection (env-only).
true / falsefalse-e BRAVE_SEARCH_ENABLED=trueBRAVE_API_KEY : Brave Search API key. Used only when BRAVE_SEARCH_ENABLED=true. Stored in /root/.openclaw/.env.
-e BRAVE_API_KEY=...CHAT_PLATFORM : Chat platform selector. In the current entrypoint, this is only used to decide whether to store the Telegram token (no pairing automation).
telegram (others are ignored)-e CHAT_PLATFORM=telegramTELEGRAM_BOT_TOKEN : Telegram bot token. Stored in /root/.openclaw/.env only when CHAT_PLATFORM=telegram. (Pairing/enable steps are not automated.)
-e TELEGRAM_BOT_TOKEN=123456:ABC...# =========================
# env variables
# =========================
$sOpenai_api_key = "sk-...YOUR_OPENAI_KEY..."
$sBrave_api_key = "BSA...YOUR_BRAVE_KEY..."
$sTelegram_bot_token = "123456789:ABC...YOUR_TELEGRAM_BOT_TOKEN..."
# =========================
# command
# =========================
docker run -it --name openclaw `
-p 18789:18789 `
-v F:\docker_volume\openclaw\.openclaw:/root/.openclaw `
-e OPENCLAW_GATEWAY_PORT=18789 `
-e LLM_PLATFORM=openai `
-e LLM_MODEL=gpt-5-mini `
-e LLM_API_KEY=$sOpenai_api_key `
-e BRAVE_SEARCH_ENABLED=true `
-e BRAVE_API_KEY=$sBrave_api_key `
-e CHAT_PLATFORM=telegram `
-e TELEGRAM_BOT_TOKEN=$sTelegram_bot_token `
shinejh0528/openclaw:1.0.0
# =========================
# env variables
# =========================
export OPENAI_API_KEY="sk-...YOUR_OPENAI_KEY..."
export BRAVE_API_KEY="BSA...YOUR_BRAVE_KEY..."
export TELEGRAM_BOT_TOKEN="123456789:ABC...YOUR_TELEGRAM_BOT_TOKEN..."
# =========================
# command
# =========================
docker run -it --name openclaw \
-p 18789:18789 \
-v /opt/docker_volume/openclaw/.openclaw:/root/.openclaw \
-e OPENCLAW_GATEWAY_PORT=18789 \
-e LLM_PLATFORM=openai \
-e LLM_MODEL=gpt-5-mini \
-e LLM_API_KEY="${OPENAI_API_KEY}" \
-e BRAVE_SEARCH_ENABLED=true \
-e BRAVE_API_KEY="${BRAVE_API_KEY}" \
-e CHAT_PLATFORM=telegram \
-e TELEGRAM_BOT_TOKEN="${TELEGRAM_BOT_TOKEN}" \
shinejh0528/openclaw:1.0.0
docker exec -it openclaw /bin/bash
openclaw onboard
๐ฆ OpenClaw 2026.2.9 (<commit>) โ <tagline>
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฆ OPENCLAW ๐ฆ
โ OpenClaw onboarding
โ
โ Security โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Security warning โ please read. โ
โ โ
โ OpenClaw is a hobby project and still in beta. Expect sharp edges. โ
โ This bot can read files and run actions if tools are enabled. โ
โ A bad prompt can trick it into doing unsafe things. โ
โ โ
โ If youโre not comfortable with basic security and access control, donโt run OpenClaw. โ
โ Ask someone experienced to help before enabling tools or exposing it to the internet. โ
โ โ
โ Recommended baseline: โ
โ - Pairing/allowlists + mention gating. โ
โ - Sandbox + least-privilege tools. โ
โ - Keep secrets out of the agentโs reachable filesystem. โ
โ - Use the strongest available model for any bot with tools or untrusted inboxes. โ
โ โ
โ Run regularly: โ
โ openclaw security audit --deep โ
โ openclaw security audit --fix โ
โ โ
โ Must read: https://docs.openclaw.ai/gateway/security โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ I understand this is powerful and inherently risky. Continue?
โ Yes
โ
โ Onboarding mode
โ QuickStart
โ
โ Existing config detected โโโโโโโโโโฎ
โ โ
โ workspace: ~/.openclaw/workspace โ
โ model: openai/gpt-5-mini โ
โ gateway.mode: local โ
โ gateway.port: 18789 โ
โ gateway.bind: loopback โ
โ skills.nodeManager: pnpm โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Config handling
โ Use existing values
โ
โ QuickStart โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Keeping your current gateway settings: โ
โ Gateway port: 18789 โ
โ Gateway bind: Loopback (127.0.0.1) โ
โ Gateway auth: Token (default) โ
โ Tailscale exposure: Off โ
โ Direct to chat channels. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Model/auth provider
โ OpenAI
โ
โ OpenAI auth method
โ OpenAI API key
โ
โ Use existing OPENAI_API_KEY (env: OPENAI_API_KEY, sk-โฆ<redacted>)?
โ Yes
โ
โ OpenAI API key โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Saved OPENAI_API_KEY to /root/.openclaw/.env for launchd compatibility. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Model configured โโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Default model set to openai/<redacted> โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Default model
โ openai/gpt-5-mini
โ
โ Channel status โโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Telegram: configured โ
โ WhatsApp: not configured โ
โ Discord: not configured โ
โ Google Chat: not configured โ
โ Slack: not configured โ
โ Signal: not configured โ
โ iMessage: work in progress โ
โ (Other channels omitted) โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Select channel (QuickStart)
โ Telegram (Bot API)
โ
โ Telegram already configured. What do you want to do?
โ Skip (leave as-is)
Updated ~/.openclaw/openclaw.json
Workspace OK: ~/.openclaw/workspace
Sessions OK: ~/.openclaw/agents/main/sessions
โ
โ Skills status โโโโโโโโโโโโโฎ
โ โ
โ Eligible: <n> โ
โ Missing requirements: <n> โ
โ Blocked by allowlist: <n> โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Configure skills now? (recommended)
โ Yes
โ
โ Homebrew recommended โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Many skill dependencies are shipped via Homebrew. โ
โ Without brew, you'll need to build from source or download releases manually. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Hooks โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Hooks let you automate actions when agent commands are issued. โ
โ Example: Save session context to memory when you issue /new. โ
โ โ
โ Learn more: https://docs.openclaw.ai/hooks โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Enable hooks?
โ ๐ command-logger
โ
โ Control UI โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Web UI: http://127.0.0.1:18789/ โ
โ Web UI (with token): http://127.0.0.1:18789/#token=<REDACTED_TOKEN> โ
โ Gateway WS: ws://127.0.0.1:18789 โ
โ Docs: https://docs.openclaw.ai/web/control-ui โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Token โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Gateway token: shared auth for the Gateway + Control UI. โ
โ Stored in: ~/.openclaw/openclaw.json (gateway.auth.token) or OPENCLAW_GATEWAY_TOKEN. โ
โ View token: openclaw config get gateway.auth.token โ
โ Generate token: openclaw doctor --generate-gateway-token โ
โ Web UI stores a copy in this browser's localStorage (openclaw.control.settings.v1). โ
โ If prompted: paste the token into Control UI settings (or use the tokenized URL). โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Start TUI (best option!)
โ openclaw tui - ws://127.0.0.1:18789 - agent main - session main
โ
โ Wake up, my friend!
โ
โ Hey โ Iโm awake.
โ (Intro questions omitted)

openclaw pairing approve telegram [your_token]
docker run -itd -p 18789:18789 --name openclaw shinejh0528/openclaw:1.0.0 /bin/bash
# and enter inside the container, run openclaw manually
docker exec -it openclaw
.openclaw folder with the -v option), you can just run the command, and OpenClaw will start up right away.docker run -it --name openclaw -p 18789:18789 -v F:\docker_volume\openclaw\.openclaw:/root/.openclaw shinejh0528/openclaw:1.0.0 openclaw gateway --port 18789 --verbose
Content type
Image
Digest
sha256:7af3d7c4dโฆ
Size
1.8 GB
Last updated
7 months ago
docker pull shinejh0528/openclaw:1.0.0