π¦ AI Agent Container with Visual Desktop
OpenClaw-powered automation with Ubuntu + XFCE + VNC
| Architecture | Devices |
|---|---|
| linux/amd64 | PCs, servers, cloud VMs |
| linux/arm64 | Raspberry Pi 4/5, Mac M1/M2/M3/M4, AWS Graviton |
Docker will automatically pull the correct image for your architecture.
RoqueOS OpenClaw is a specialized Docker container that provides an AI-powered automation environment for RoqueOSβ . It combines:
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.
roqueos CLI for server communication/shared)βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 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 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
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.
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:
After starting the container, you need to configure OpenClaw with your AI provider API key:
Open your browser and navigate to:
http://localhost:6080
Double-click the Terminal icon on the desktop.
roqueclaw-setup
This will guide you through configuring your API key (Anthropic or OpenAI).
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.
| Variable | Default | Description |
|---|---|---|
VNC_RESOLUTION | 1920x1080 | Desktop resolution |
VNC_COL_DEPTH | 24 | Color depth (bits) |
VNC_PORT | 5901 | VNC server port |
NOVNC_PORT | 6080 | noVNC web client port |
ROQUEOS_SERVER_URL | http://host.docker.internal:27021 | RoqueOS 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 |
| Port | Service | Description |
|---|---|---|
5901 | VNC | Direct VNC connection |
6080 | noVNC | Web-based VNC client |
18789 | OpenClaw Gateway | AI agent API (when running) |
| Volume | Container Path | Description |
|---|---|---|
| OpenClaw Data | /data/openclaw | Persistent agent data |
| OpenClaw Config | /home/agent/.openclaw | Configuration and API keys |
| Shared Files | /shared | Shared folder with RoqueOS |
| Component | Version |
|---|---|
| Ubuntu | 22.04 LTS |
| XFCE | 4.16 |
| TigerVNC | Latest |
| noVNC | Latest |
| Tool | Description |
|---|---|
| Node.js | 20.x |
| Yarn | Latest |
| Python 3 | System default |
| Git | Version control |
| Chromium | Web browser |
| Tool | Description |
|---|---|
| curl, wget | HTTP clients |
| vim, nano | Text editors |
| htop | Process monitor |
| jq | JSON processor |
| Component | Description |
|---|---|
| OpenClaw CLI | openclaw command |
| Browser Extension | Auto-loaded in Chromium |
| RoqueOS Skill | Pre-installed integration |
The desktop includes these shortcuts for quick access:
| Shortcut | Description |
|---|---|
| OpenClaw Terminal | Opens terminal with OpenClaw help |
| OpenClaw Dashboard | Starts gateway and opens dashboard |
| Chromium Browser | Web browser with OpenClaw extension |
| Shared Files | Opens shared folder in file manager |
| Terminal | Standard terminal emulator |
| Command | Description |
|---|---|
roqueclaw-setup | Configure OpenClaw API key |
roqueclaw-gateway | Start OpenClaw gateway |
roqueos | Communicate with RoqueOS Server |
| Command | Description |
|---|---|
openclaw | OpenClaw CLI |
openclaw onboard | Configure API key |
openclaw gateway | Start gateway server |
openclaw --help | Show all commands |
# 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
# Access container shell
docker exec -it -u agent roqueos-openclaw bash
# Run setup
roqueclaw-setup
# 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
# 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
# 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
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/
| Image | Description | Link |
|---|---|---|
roqueribeiro1988/roqueos-server | Main RoqueOS Server | Docker Hubβ |
roqueribeiro1988/roqueos-server-ubuntu | Ubuntu container for terminal | Docker Hubβ |
roqueribeiro1988/roqueos-openclaw | OpenClaw agent (this image) | Docker Hubβ |
MIT License - Copyright (c) 2024 Roque Ribeiro
Made with β€οΈ by Roque Ribeiroβ
Content type
Image
Digest
sha256:c9654c356β¦
Size
912 MB
Last updated
2 months ago
docker pull roqueribeiro1988/roqueos-openclaw