The Computer Image
What's inside the Docker image — desktop, tools, resources, and configuration.
The repo's Dockerfile builds a Debian desktop with XFCE and Chromium.
The named launcher and Docker Compose apply configurable limits to each
container, defaulting to 2 CPUs and 3 GB of memory.
The image builds Git in a separate stage and leaves the build toolchain and
unneeded Scalar binary out of the final image. Chromium remains included for
browser automation. Build it locally with docker compose build; Docker can
reuse unchanged layers on subsequent builds.
The desktop stack
The entrypoint (entrypoint.sh) starts the pieces in order:
Xvfb :99 → XFCE session → x11vnc :5900 → websockify/noVNC :6080 → daemon :8095
| Piece | Role |
|---|---|
Xvfb on :99 | Virtual X server — no display hardware needed |
| XFCE | Lightweight, fully normal desktop environment |
| x11vnc | Exposes the X display over VNC (container-internal) |
| websockify + noVNC | Streams it to your browser at http://localhost:6080/vnc.html |
| daemon | HTTP control plane on :8095 — see Daemon API |
Preinstalled toolchain
Everything an agent needs to do real work:
| Category | Tools |
|---|---|
| Languages | Python 3 |
| Editor / shell | nano, bash (terminal app: xterm) |
| VCS | git |
| Network | curl, ca-certificates |
| Search | ripgrep |
| Images | ImageMagick — import (screenshots), convert |
| X11 control | xdotool, xvfb, x11vnc |
| Clipboard | xclip |
| Browser | Debian Chromium, launched with the chromium wrapper |
Build tools are not preinstalled (kept out for size). Install on demand:
apt-get install -y --no-install-recommends build-essential
No node/npm either. If a task needs them:
docker compose exec -d desktop bash -c 'apt-get update && apt-get install -y --no-install-recommends nodejs npm'
Files and persistence
/workspaceinside the container is mounted from.desktop-workspaces/<name>with the named launcher or./workspacewith Compose by default.- Screenshots written to
/workspaceland directly on your host disk. - SDK worker logs live under
/workspace/.workers/<title>/console.log. - Everything outside
/workspaceis ephemeral — reset withdocker compose down && docker compose up -d.
Configuration
Set these in docker-compose.yml (or your shell env):
| Variable | Default | Purpose |
|---|---|---|
RESOLUTION | 1600x900 | Virtual display geometry (set in Compose) |
DESKTOP_NAME | default | Name used to select the desktop |
DESKTOP_TOKEN | unset | API bearer token |
DESKTOP_VNC_PASSWORD | unset | Password for the noVNC viewer |
DESKTOP_MEMORY_LIMIT | 3g | Maximum container memory |
DESKTOP_CPUS | 2 | Maximum CPU time in cores |
DISPLAY | :99 | X display used by everything GUI |
API_PORT | 8095 | Daemon port inside the container |
GH_TOKEN / GITHUB_TOKEN | empty | Git auth + GitHub API calls from inside |
GIT_AUTHOR_NAME / GIT_AUTHOR_EMAIL | eve-agent / eve@agent.local | Commit identity for agent-made commits |
GIT_COMMITTER_NAME / GIT_COMMITTER_EMAIL | same as author | Same |
Resources and health
mem_limit: ${DESKTOP_MEMORY_LIMIT:-3g}
cpus: ${DESKTOP_CPUS:-2}
restart: unless-stopped
The image healthcheck probes the viewer page and /api/health every 30 seconds.
Check health yourself:
curl -sf http://localhost:8095/api/health # {"ok": true} only when the X display answers
docker compose exec desktop pgrep -f xfce4-session # desktop process alive
More operational detail in Docker setup.