Sign inSign up

roqueribeiro1988/roqueos-openclaw

By roqueribeiro1988

β€’Updated about 2 months ago

Image
0

4.4K

roqueribeiro1988/roqueos-openclaw repository overview

⁠RoqueOS OpenClaw

RoqueOS Logo

🦞 AI Agent Container with Visual Desktop
OpenClaw-powered automation with Ubuntu + XFCE + VNC

Docker Pulls ⁠ Docker Version ⁠ License


⁠πŸ–₯️ Supported Platforms

ArchitectureDevices
linux/amd64PCs, servers, cloud VMs
linux/arm64Raspberry Pi 4/5, Mac M1/M2/M3/M4, AWS Graviton

Docker will automatically pull the correct image for your architecture.


⁠🌟 What is RoqueOS OpenClaw?

RoqueOS OpenClaw is a specialized Docker container that provides an AI-powered automation environment for RoqueOS⁠. It combines:

  • OpenClaw - AI agent framework for visual automation
  • Ubuntu 22.04 - Stable Linux base
  • XFCE Desktop - Lightweight graphical environment
  • VNC/noVNC - Remote desktop access via browser
  • Chromium - Web browser with OpenClaw extension

This container enables AI agents to interact with a visual desktop, browse the web, and execute complex automation tasks - all accessible through RoqueOS's Agent app.

⚠️ Note: This image is designed to work with RoqueOS Server⁠. The server manages container lifecycle and provides the integration layer.


⁠✨ Features

β πŸ€– OpenClaw AI Agent
  • Pre-installed OpenClaw CLI and gateway
  • Visual automation capabilities
  • Support for Anthropic (Claude) and OpenAI (GPT-4)
  • Browser extension for web interaction
  • RoqueOS skill for system integration
⁠πŸ–₯️ Full Desktop Environment
  • XFCE4 lightweight desktop
  • Dark theme (Adwaita-dark)
  • Desktop shortcuts for quick access
  • File manager (Thunar)
  • Terminal emulator
⁠🌐 Remote Access
  • VNC server (TigerVNC) on port 5901
  • noVNC web client on port 6080
  • No password required (secured by network)
  • Configurable resolution (default: 1920x1080)
β πŸ”— RoqueOS Integration
  • roqueos CLI for server communication
  • Shared folder support (/shared)
  • Environment variables for API credentials
  • Automatic gateway startup when configured

β πŸš€ How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                      RoqueOS Frontend                        β”‚
β”‚                    (https://roqueos.com.br)                  β”‚
β”‚                         Agent App                            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                              β”‚
                              β”‚ WebSocket + REST
                              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                      RoqueOS Server                          β”‚
β”‚              (roqueribeiro1988/roqueos-server)               β”‚
β”‚                     /agent endpoints                         β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                              β”‚
                              β”‚ Docker API
                              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    RoqueOS OpenClaw                          β”‚
β”‚            (roqueribeiro1988/roqueos-openclaw)               β”‚
β”‚                                                              β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚  β”‚                   XFCE Desktop                       β”‚    β”‚
β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”             β”‚    β”‚
β”‚  β”‚  β”‚OpenClaw β”‚  β”‚Chromium β”‚  β”‚Terminal β”‚             β”‚    β”‚
β”‚  β”‚  β”‚ Gateway β”‚  β”‚+Extensionβ”‚  β”‚         β”‚             β”‚    β”‚
β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β”‚    β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β”‚                         VNC/noVNC                            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  1. User opens Agent app in RoqueOS
  2. RoqueOS Server creates/manages OpenClaw container
  3. noVNC streams desktop to the browser
  4. OpenClaw gateway handles AI agent communication
  5. Agent executes tasks visually on the desktop

β πŸ“¦ Quick Start

⁠Option 1: Standalone (for testing)
docker run -d \
  --name roqueos-openclaw \
  -p 5901:5901 \
  -p 6080:6080 \
  -v openclaw-data:/data/openclaw \
  -v openclaw-config:/home/agent/.openclaw \
  --shm-size=1gb \
  roqueribeiro1988/roqueos-openclaw:latest

Access the desktop at: http://localhost:6080

The container is automatically managed by RoqueOS Server when you use the Agent app. No manual setup required.

⁠Option 3: Docker Compose
version: '3.8'

services:
  roqueos-openclaw:
    image: roqueribeiro1988/roqueos-openclaw:latest
    container_name: roqueos-openclaw
    restart: unless-stopped
    ports:
      - "5901:5901"   # VNC
      - "6080:6080"   # noVNC
      - "18789:18789" # OpenClaw Gateway
    environment:
      - VNC_RESOLUTION=1920x1080
      - VNC_COL_DEPTH=24
      - ROQUEOS_SERVER_URL=http://host.docker.internal:27021
    volumes:
      - openclaw-data:/data/openclaw
      - openclaw-config:/home/agent/.openclaw
      - shared-files:/shared
    shm_size: "1gb"
    extra_hosts:
      - "host.docker.internal:host-gateway"

volumes:
  openclaw-data:
  openclaw-config:
  shared-files:

β πŸ”§ First-Time Setup

After starting the container, you need to configure OpenClaw with your AI provider API key:

⁠Step 1: Access the Desktop

Open your browser and navigate to:

http://localhost:6080
⁠Step 2: Open Terminal

Double-click the Terminal icon on the desktop.

⁠Step 3: Run Setup
roqueclaw-setup

This will guide you through configuring your API key (Anthropic or OpenAI).

⁠Step 4: Start Gateway

After setup, start the OpenClaw gateway:

roqueclaw-gateway

The gateway will be available at http://localhost:18789.

πŸ’‘ Tip: If OpenClaw is already configured, the gateway starts automatically when the container boots.


β βš™οΈ Environment Variables

VariableDefaultDescription
VNC_RESOLUTION1920x1080Desktop resolution
VNC_COL_DEPTH24Color depth (bits)
VNC_PORT5901VNC server port
NOVNC_PORT6080noVNC web client port
ROQUEOS_SERVER_URLhttp://host.docker.internal:27021RoqueOS Server URL
ROQUEOS_API_KEY(empty)API Key for RoqueOS Server
ROQUEOS_API_SECRET(empty)API Secret for RoqueOS Server
ROQUEOS_SESSION_ID(empty)Agent session ID
ROQUEOS_USER_ID(empty)User ID for the session

β πŸ”Œ Exposed Ports

PortServiceDescription
5901VNCDirect VNC connection
6080noVNCWeb-based VNC client
18789OpenClaw GatewayAI agent API (when running)

β πŸ’Ύ Volumes

VolumeContainer PathDescription
OpenClaw Data/data/openclawPersistent agent data
OpenClaw Config/home/agent/.openclawConfiguration and API keys
Shared Files/sharedShared folder with RoqueOS

β πŸ› οΈ Pre-installed Software

⁠Desktop Environment
ComponentVersion
Ubuntu22.04 LTS
XFCE4.16
TigerVNCLatest
noVNCLatest
⁠Development Tools
ToolDescription
Node.js20.x
YarnLatest
Python 3System default
GitVersion control
ChromiumWeb browser
⁠Utilities
ToolDescription
curl, wgetHTTP clients
vim, nanoText editors
htopProcess monitor
jqJSON processor
⁠OpenClaw
ComponentDescription
OpenClaw CLIopenclaw command
Browser ExtensionAuto-loaded in Chromium
RoqueOS SkillPre-installed integration

β πŸ“‹ Desktop Shortcuts

The desktop includes these shortcuts for quick access:

ShortcutDescription
OpenClaw TerminalOpens terminal with OpenClaw help
OpenClaw DashboardStarts gateway and opens dashboard
Chromium BrowserWeb browser with OpenClaw extension
Shared FilesOpens shared folder in file manager
TerminalStandard terminal emulator

β πŸ”§ CLI Commands

⁠RoqueClaw Commands
CommandDescription
roqueclaw-setupConfigure OpenClaw API key
roqueclaw-gatewayStart OpenClaw gateway
roqueosCommunicate with RoqueOS Server
⁠OpenClaw Commands
CommandDescription
openclawOpenClaw CLI
openclaw onboardConfigure API key
openclaw gatewayStart gateway server
openclaw --helpShow all commands

β πŸ”§ Troubleshooting

⁠Desktop not loading?
# Check container logs
docker logs roqueos-openclaw

# Verify VNC is running
docker exec roqueos-openclaw nc -z localhost 5901

# Restart VNC manually
docker exec -u agent roqueos-openclaw vncserver -kill :1
docker exec -u agent roqueos-openclaw vncserver :1 -geometry 1920x1080 -depth 24 -SecurityTypes None
⁠OpenClaw not configured?
# Access container shell
docker exec -it -u agent roqueos-openclaw bash

# Run setup
roqueclaw-setup
⁠Chromium not starting?
# Test Chromium manually
docker exec -u agent roqueos-openclaw chromium-wrapper --version

# Check if shm_size is set (required for Chromium)
# Restart container with --shm-size=1gb
⁠Gateway not starting?
# Check if OpenClaw is configured
docker exec -u agent roqueos-openclaw cat ~/.openclaw/config.json

# View gateway logs
docker exec roqueos-openclaw cat /tmp/openclaw-gateway.log

# Start manually
docker exec -it -u agent roqueos-openclaw roqueclaw-gateway
⁠Connection refused to RoqueOS Server?
# Verify ROQUEOS_SERVER_URL is correct
docker exec roqueos-openclaw cat /home/agent/.roqueos-env

# Test connection
docker exec roqueos-openclaw curl -s http://host.docker.internal:27021/health

β πŸ—οΈ Building Custom Image

If you need additional software or customizations:

FROM roqueribeiro1988/roqueos-openclaw:latest

# Install additional packages
USER root
RUN apt-get update && apt-get install -y \
    your-package-here \
    && rm -rf /var/lib/apt/lists/*

# Add custom configuration
USER agent
COPY your-config /home/agent/.config/

ImageDescriptionLink
roqueribeiro1988/roqueos-serverMain RoqueOS ServerDocker Hub⁠
roqueribeiro1988/roqueos-server-ubuntuUbuntu container for terminalDocker Hub⁠
roqueribeiro1988/roqueos-openclawOpenClaw agent (this image)Docker Hub⁠


β πŸ“„ License

MIT License - Copyright (c) 2024 Roque Ribeiro


Made with ❀️ by Roque Ribeiro⁠

Tag summary

Content type

Image

Digest

sha256:c9654c356…

Size

912 MB

Last updated

2 months ago

docker pull roqueribeiro1988/roqueos-openclaw