Skip to content
AI Dev Server

Docker and runtime

Compose service

The committed Compose project name is ai-dev. The primary service:

  • uses image ${AI_DEV_IMAGE:-docker.io/jerry0510/ai-dev:latest}
  • sets working_dir: /workspace
  • restarts unless-stopped
  • drops capabilities then re-adds only ownership-repair caps
  • mounts six named volumes plus host /var/run/docker.sock read-write
  • runs healthcheck ai-dev-health

There are no published ports in the Compose file.

Named volumes

VolumeMountRole
workspace/workspaceProjects and repository-local state
config/configCredentials and versioned user configuration
data/dataCaches and related data
logs/logsLogs and structured events
models/modelsModel artifacts
backups/backupsBackup material

docker compose down keeps named volumes. docker compose down -v deletes them and is intentionally absent from normal instructions.

Image model

  • Base: digest-pinned Ubuntu 24.04
  • Architectures: amd64 and arm64
  • versions.env pins tool versions
  • Runtime self-update is disabled; upgrades come from reviewed image rebuilds/tags

Published tag policy is documented in the repository README (edge/sha tags from main, stable semver tags, and prerelease tags).

Process model

Root-owned tini is PID 1. After bootstrap, the entrypoint runs the foreground workload as dev. Supported interactive wrappers also require dev. A bare root exec is a recovery interface, not the normal development path.