Skip to content

carlosas/openclaw-dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenClaw-Dockerized 🦞+🐳

Containerized OpenClaw gateway with Claude Code and Gemini CLI pre-installed.

What's included

  • Node.js 22 (Debian Bookworm)
  • OpenClaw - AI coding gateway
  • Claude Code - Anthropic CLI
  • Gemini CLI - Google CLI
  • pnpm - Fast package manager (via Corepack)
  • zsh with oh-my-zsh and syntax highlighting

Quick start

Create an environment file from the template:

cp .env.dist .env

Update your .env file:

Variable Default Description
TZ Europe/Madrid Container timezone
OPENCLAW_GATEWAY_MODE local Gateway operation mode
ROOT_PASSWORD root Root password inside the container
PROJECT_NAME my-project Used in container name (openclaw-<project-name>) and shell prompt

Install and start the system:

# Build the stack
make install

# Start the container
make start 

# Enter the container
make enter

# You might want to prepare Gemini or Claude at this point (inside the container)
# Configure OpenClaw (inside the container)
openclaw onboard --install-daemon

Run make help to see all available commands.

Volumes

Host path Container path Purpose
./openclaw/ /home/node/.openclaw OpenClaw configuration and data
./gemini/ /home/node/.gemini Gemini CLI configuration
./claude.json /home/node/.claude.json Claude Code main configuration
./claude/ /home/node/.claude Claude Code extra configuration

Ports

Host Container Description
8888 8080 OpenClaw gateway (localhost only)

The gateway runs in local mode and is accessible at http://127.0.0.1:8888 or via TUI inside the container.

About

Fully dockerized OpenClaw with Gemini and Claude support

Resources

Stars

Watchers

Forks

Contributors