OpenClaw Docker Linux
БесплатноБез исполняемых скриптовНе проверенRun OpenClaw inside Docker on Linux with Tailscale remote access. ⚠️ Involves sudo, Docker, Tailscale, and credential mounting — review security section…
от djc00p1 182 установки в других каталогахОб этом скилле
OpenClaw Docker Setup
⚠️ Security Considerations
This skill involves elevated privileges and credential management. Review before running:
- sudo operations — All Docker setup commands require elevated trust. Review
references/docker-setup.shbefore executing. - Tailscale remote access — Enables network access to your OpenClaw instance. Ensure your Tailscale network policy allows this and review your firewall rules.
- Credential mounting — Mounting
~/.config/ghor other credential directories into containers exposes them to the container image. Only do this if you fully trust the image source. - Host file exposure — Volume mounts give containers access to host files. Be careful which directories you mount and which containers you run.
- Port 18789 exposure — Do not expose port 18789 to the public internet. Bind to localhost (127.0.0.1) unless you have explicit firewall rules protecting it. For remote access, use Tailscale (see
references/docker-config.md). - Token safety — The management script never prints the gateway token. It shows only the first 4 characters as a confirmation marker; the full token is not written to terminal output, logs, or the displayed URL. Read the real value from
.envwhen you need it. - Bind mode — The shipped
docker-compose.ymlbinds the gateway to127.0.0.1. Keep it that way. Do not bind to0.0.0.0to make remote access work; use Tailscale Serve or MagicDNS instead. The host-level global-install path inreferences/troubleshooting.mdis optional, explicitly gated, and binds toloopbackrather thanlan. - Image pinning — Use specific version tags (e.g.,
ghcr.io/openclaw/openclaw:v1.2.3) instead of:latestfor reproducible builds. The latest tag can change between container restarts. Pin the digest too (tag@sha256:...) and verify it against the registry before deploying — an unverified digest placeholder tells you nothing. Seereferences/docker-config.mdfor the verification command. - Docker group is a lasting root grant —
sudo usermod -aG docker $USERgives your user permanent, passwordless root-equivalent access to the host through the Docker socket. Any process that can talk to that socket can start a privileged container and mount the host filesystem. Only add it if you trust every process running as your user, and remove it (sudo gpasswd -d $USER docker) if you no longer use Docker.
Run OpenClaw inside Docker on Linux (Ubuntu 24.04+) with Tailscale for remote access.
Quick Start
Install Docker via APT (not Snap):
sudo apt install docker.io docker-compose && \ sudo usermod -aG docker $USERThen log out and back in —
sudo usermoddoesn't take effect withnewgrp.⚠️ This is a permanent root-equivalent grant. Membership in the
dockergroup is equivalent to passwordless sudo, because the Docker socket lets any member start a privileged container that mounts the host filesystem. Only do this if you trust every process that runs as your user. Seereferences/gotchas.mdfor how to verify or remove it.Run onboard to configure gateway and get your token:
docker-compose run --rm openclaw-cli onboardCreate
docker-compose.ymlusing the token from onboard. Seereferences/docker-config.mdfor the full template and .env setup.Start the container:
docker-compose up -dAccess at
http://localhost:18789— read the token from.envwithgrep OPENCLAW_GATEWAY_TOKEN .envwhen you need to authenticate.
Key Concepts
- bind: lan vs loopback —
lan= accessible from the host via port mapping;loopback= locked inside container. - Tailscale on host, not container — Run Tailscale on the Ubuntu host for remote access.
- One method only — Docker OR global install, never both (port + config conflicts).
- Config path mapping — Host
~/.openclaw/→ Container/home/node/.openclaw/(same files, different paths). - Docker group login —
sudo usermod -aG dockerrequires full logout/login, notnewgrp.
References
references/common-usage.md— Day-to-day commandsreferences/docker-config.md— docker-compose.yml, .env template, permissions, Tailscale, management scriptreferences/quickstart.md— Simple 5-minute setup guidereferences/docker-setup.sh— Management script (start/stop/logs/doctor/tailscale/approve_telegram)references/gotchas.md— Critical mistakes and how to avoid themreferences/troubleshooting.md— Common errors and fixes
Установить OpenClaw Docker Linux в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл OpenClaw Docker Linux?
Run OpenClaw inside Docker on Linux with Tailscale remote access. ⚠️ Involves sudo, Docker, Tailscale, and credential mounting — review security section before use. Complete setup guide covering installation, configuration, and critical gotchas. Trigger phrases: docker openclaw, openclaw in docker, setup openclaw docker, tailscale openclaw, docker-compose openclaw.
Как установить скилл OpenClaw Docker Linux?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл OpenClaw Docker Linux запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub