Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
••••••••••••••••••••
Intelligence View
⚡ tsecurity.de Intelligence

How to Install Moltbot with Docker and Gemini on WSL

Ever wanted your own AI assistant that you can chat with via WhatsApp? Meet Moltbot - an open-source AI gateway that just went through a rebrand with an interesting backstory. The Name Change Story You might have heard of…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Ever wanted your own AI assistant that you can chat with via WhatsApp? Meet Moltbot - an open-source AI gateway that just went through a rebrand with an interesting backstory.






The Name Change Story



You might have heard of "Clawdbot" - a popular AI assistant project with a space lobster mascot. On January 27, 2026, Anthropic sent a trademark request because "Clawd" was too similar to their "Claude" trademark.



Creator Peter Steinberger (@steipete) took it in stride:




"Anthropic asked us to change our name (trademark stuff), and honestly? 'Molt' fits perfectly - it's what lobsters do to grow."




The mascot is now "Molty" and the project is "Moltbot". Sometimes forced changes lead to better names.






Why Gemini Instead of Claude?



You might wonder: "I have a Claude Code subscription, why not use that?"



Here's the problem: Anthropic actively blocks third-party tools from using Claude Code subscriptions, and doing so violates their Terms of Service.



In early January 2026, Anthropic cracked down on "harnesses" - third-party tools that use Claude Code OAuth to access consumer subscriptions. An Anthropic employee explained:




"Restrictions target third-party harnesses spoofing the official client, which violate ToS by creating unusual traffic patterns without telemetry — complicating debugging, rate limits, and support."




The risks of using Claude Code subscription with Moltbot:
























Risk Details
Account ban Anthropic has banned users for TOS violations
Sudden disconnection Your bot stops working without warning
Gray area legally Operating outside official support


The error you'll see: "This credential is only authorized for use with Claude Code and cannot be used for other API requests."



The safe alternatives:





  • Gemini CLI (this guide) - Free tier, legitimate OAuth


  • Anthropic API key - Pay-as-you-go, officially supported


  • Google Antigravity - Access Claude via Google's infrastructure



This guide uses Gemini because it's free, has generous limits, and Google actively supports third-party integrations.






What You'll Build



By the end of this guide, you'll have:




  • Moltbot running in Docker on WSL

  • Google Gemini as your AI backend (free tier available)

  • Optional WhatsApp integration to chat with your bot






Prerequisites




  • Windows with WSL 2 (Ubuntu 22.04)

  • An internet connection

  • About 30 minutes






Step 1: Install Docker in WSL



Open your WSL terminal and run:




# Update and install dependencies
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg

# Add Docker's GPG key
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg

# Add Docker repository
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

# Install Docker Engine
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

# Add yourself to docker group
sudo usermod -aG docker $USER
sudo service docker start






Important: Log out of WSL and back in for the group change to work:




exit
# Reopen WSL, then verify:
docker run hello-world









Step 2: Clone and Build Moltbot






mkdir -p ~/GIT/moltbot-project
cd ~/GIT/moltbot-project
git clone https://github.com/moltbot/moltbot.git
cd moltbot
./docker-setup.sh






During setup, use these quick settings:
































Prompt Value
Security warning Yes
Onboarding mode QuickStart
Model/auth provider Skip for now
Gateway bind lan
Gateway auth token





Step 3: Add Gemini Support



Create a custom Dockerfile that includes Gemini CLI:




cd ~/GIT/moltbot-project

cat > Dockerfile.custom << 'EOF'
FROM moltbot:local
USER root
RUN npm install -g @google/gemini-cli
USER node
VOLUME /home/node/.gemini
EOF

docker build -t moltbot-with-gemini -f Dockerfile.custom .









Step 4: Authenticate with Gemini



Install and authenticate Gemini CLI in WSL:




npm install -g @google/gemini-cli
gemini






Follow the OAuth flow in your browser. This creates credentials in ~/.gemini/.






Step 5: Wire It All Together



Create a Docker Compose override to mount your Gemini credentials:




cat > ~/GIT/moltbot-project/moltbot/docker-compose.override.yml << 'EOF'
services:
moltbot-gateway:
image: moltbot-with-gemini
environment:
HOME: /home/node
volumes:
- ~/.gemini:/home/node/.gemini
- ~/.clawdbot:/home/node/.moltbot
moltbot-cli:
image: moltbot-with-gemini
environment:
HOME: /home/node
volumes:
- ~/.gemini:/home/node/.gemini
- ~/.clawdbot:/home/node/.moltbot
EOF






Enable the Gemini plugin:




cd ~/GIT/moltbot-project/moltbot

# Enable plugin
docker compose -f docker-compose.yml -f docker-compose.override.yml run -it --rm moltbot-cli plugins enable google-gemini-cli-auth

# Authenticate inside container
docker compose -f docker-compose.yml -f docker-compose.override.yml run -it --rm moltbot-cli auth login --provider google-gemini-cli

# Configure models
docker compose -f docker-compose.yml -f docker-compose.override.yml run -it --rm moltbot-cli configure









Step 6: Start and Test






# Start the gateway
docker compose -f docker-compose.yml -f docker-compose.override.yml up -d moltbot-gateway

# Test it
docker compose -f docker-compose.yml -f docker-compose.override.yml run -it --rm moltbot-cli agent --local --session-id test -m "Hello!"






You should get a response from your AI.






Bonus: Add WhatsApp



WhatsApp is surprisingly easy - it uses QR code login like WhatsApp Web.




# Configure WhatsApp channel
docker compose -f docker-compose.yml -f docker-compose.override.yml run -it --rm moltbot-cli configure






Select Channels -> WhatsApp and set:




  • Personal phone mode: Yes

  • dmPolicy: allowlist

  • allowFrom: Your phone number (e.g., +15551234567)



Then link your phone:




docker compose -f docker-compose.yml -f docker-compose.override.yml run -it --rm moltbot-cli channels login






Scan the QR code with WhatsApp (Settings -> Linked Devices -> Link a Device). Now you can chat with your AI via WhatsApp self-messages.






Quick Reference Commands






cd ~/GIT/moltbot-project/moltbot

# Start
docker compose -f docker-compose.yml -f docker-compose.override.yml up -d moltbot-gateway

# Stop
docker compose -f docker-compose.yml -f docker-compose.override.yml down

# View logs
docker compose -f docker-compose.yml -f docker-compose.override.yml logs -f moltbot-gateway

# Open dashboard
docker compose -f docker-compose.yml -f docker-compose.override.yml run --rm moltbot-cli dashboard









Troubleshooting



Docker permission denied?




sudo usermod -aG docker $USER
# Then log out and back in






Gemini rate limits (429)?

The free tier has limits. Wait a bit or add an API key fallback from Google AI Studio.



Config files owned by root?




sudo chown -R $USER:$USER ~/.clawdbot









Wrapping Up



Moltbot gives you a self-hosted AI gateway that can connect to various backends (Gemini, Claude via Antigravity, etc.) and channels (WhatsApp, Discord, Telegram). The Docker setup keeps everything contained and reproducible.



The rebrand from Clawdbot to Moltbot is a good reminder that sometimes external pressure leads to better outcomes - "Molt" really does fit the lobster theme better.






Have you set up Moltbot or a similar AI assistant? Share your experience in the comments!

1. Sofort-Triage & Abwehrmaßnahmen

SOC Incident Playbook: Remote Code Execution (RCE) Defense
Syntax validiert (0 Fehler)
title: Detect Exploitation - How to Install Moltbot with Docker and Gemini on WSL
id: e8852f2e-27d4-45d2-b3d5-87502ca96cbd
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-25
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
Syntax validiert (0 Fehler)
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-25"
        description = "YARA Signature for "
    strings:
        $str = "How to Install Moltbot with Do" ascii wide
    condition:
        any of them
}
Syntax validiert (0 Fehler)
index=security sourcetype IN ("cisco:asa", "pan:traffic", "zeek_conn", "suricata", "WinEventLog:Security")
("How to Install Moltbot with Docker and G")
| stats count earliest(_time) as first_seen latest(_time) as last_seen by src_ip, dest_ip, dest_host, signature
| eval first_seen=strftime(first_seen, "%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen, "%Y-%m-%d %H:%M:%S")
| sort - count
Syntax validiert (0 Fehler)
message: "*How to Install Moltbot with Docker and G*"
Syntax validiert (0 Fehler)
CommonSecurityLog
| where Message has "How to Install Moltbot with Docker and G"
| summarize EventCount = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by SourceIP, DestinationIP, DestinationPort, Activity
| extend DetectionRule = "iShareStuff-CTI-Compiled"
| sort by EventCount desc

2. Cyber Threat Intelligence & Forensik

CTI Threat Relationship Graph4 Knoten / 3 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
🎯
MITRE ATT&CK Matrix Navigator 14 Taktiken
Reconnaissance
-
Resource Development
-
Initial Access
Execution
Persistence
-
Privilege Escalation
Defense Evasion
Credential Access
-
Discovery
-
Lateral Movement
-
Collection
-
Command and Control
Exfiltration
-
Impact
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich How to Install Moltbot with Docker and G.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

⚡ Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten How to Install Moltbot with Docker and Gemini on WSL

Thematisch verwandte Begriffe: Install, Moltbot, with, Docker · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-87722 | Uncontrolled Resource Consumption (CWE-400 / CWE-1333) in regex search q…
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel • Rechts: nächster Artikel • unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...
↗ Original-Quelle