
yotzee/coderA comprehensive Ubuntu-based Docker development environment with all the essential tools for modern software development.
Access a full XFCE desktop environment through your browser at http://localhost:8080:
!Web Desktop via noVNC
All 12+ development tools come pre-installed and ready to use:
!Installed Development Tools
Use Playwright to capture the web desktop after starting the container:
bashbash scripts/make-screenshot.sh
Defaults:
bashTARGET_URL=http://localhost:8080/ OUTPUT_PATH=screenshots/desktop.png
You can override them for custom captures:
bashTARGET_URL=http://localhost:8080/ OUTPUT_PATH=screenshots/custom.png bash scripts/make-screenshot.sh
┌──────────────────────────────────────────────────┐ │ ubuntu:latest │ │ │ │ User: developer (non-root, passwordless sudo) │ │ Shell: zsh + Oh My Zsh │ │ │ │ ┌────────────────────────────────────────────┐ │ │ │ Desktop: XFCE4 + noVNC (web RDP) │ │ │ │ Port 8080 → browser-based desktop │ │ │ └────────────────────────────────────────────┘ │ │ │ │ Volumes: │ │ • /home/developer/workspace ← host project │ │ • /var/run/docker.sock ← host Docker │ │ • /home/developer/.claude ← Claude Code auth │ │ • /home/developer/.config/ ← OpenCode auth │ │ opencode │ │ • /home/developer/.config/ ← Codex auth │ │ codex │ │ │ │ Languages: Node.js, .NET 8, Go, C/C++ │ │ Tools: Terraform, kubectl, Docker CLI, Git │ │ Editors: VS Code, Ghostty │ │ AI: Claude Code, OpenCode, Codex │ └──────────────────────────────────────────────────┘
bashdocker build -t coder-dev .
If you encounter "not enough free space" errors during build:
Free up Docker disk space:
bashdocker system prune -a --volumes
Increase Docker Desktop disk allocation:
Build with BuildKit (more efficient):
bashDOCKER_BUILDKIT=1 docker build -t coder-dev .
The container starts with a web-based RDP desktop by default on port 8080:
bashdocker run --rm -d -p 8080:8080 \ -v $(pwd):/home/developer/workspace \ -v /var/run/docker.sock:/var/run/docker.sock \ -v ~/.claude:/home/developer/.claude \ -v ~/.config/opencode:/home/developer/.config/opencode \ -v ~/.config/codex:/home/developer/.config/codex \ --name coder-dev \ coder-dev
Then access the desktop at: http://localhost:8080
To run with shell access instead of RDP:
bashdocker run --rm -it coder-dev /bin/zsh
Mount your local workspace into the container:
bashdocker run --rm -it -v $(pwd):/home/developer/workspace coder-dev
To use Docker commands inside the container (connects to host Docker daemon):
bashdocker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock coder-dev
bashdocker run --rm -it \ -v $(pwd):/home/developer/workspace \ -v /var/run/docker.sock:/var/run/docker.sock \ -v ~/.claude:/home/developer/.claude \ -v ~/.config/opencode:/home/developer/.config/opencode \ -v ~/.config/codex:/home/developer/.config/codex \ coder-dev
If you need to expose ports (e.g., for web development or RDP):
bashdocker run --rm -d -p 8080:8080 -p 3000:3000 \ -v $(pwd):/home/developer/workspace \ -v /var/run/docker.sock:/var/run/docker.sock \ -v ~/.claude:/home/developer/.claude \ -v ~/.config/opencode:/home/developer/.config/opencode \ -v ~/.config/codex:/home/developer/.config/codex \ --name coder-dev \ coder-dev
Access web RDP at: http://localhost:8080
Run container in detached mode (use docker exec to access):
bashdocker run --rm -d --name coder-dev \ -v $(pwd):/home/developer/workspace \ -v /var/run/docker.sock:/var/run/docker.sock \ -v ~/.claude:/home/developer/.claude \ -v ~/.config/opencode:/home/developer/.config/opencode \ -v ~/.config/codex:/home/developer/.config/codex \ coder-dev # Access the container docker exec -it coder-dev /bin/zsh
bashnode --version dotnet --version go version terraform version docker --version kubectl version --client gcc --version clang --version code --version ghostty --version opencode --version codex --version
The container starts with zsh by default. You can also access it with:
bashdocker exec -it <container-id> /bin/zsh
The container includes Claude Code, OpenCode, and Codex AI coding tools. To use them with your existing authentication, mount the config directories from your host:
| Tool | Host Path | Container Path |
|---|---|---|
| Claude Code | ~/.claude/ | /home/developer/.claude |
| OpenCode | ~/.config/opencode/ | /home/developer/.config/opencode |
| Codex | ~/.config/codex/ | /home/developer/.config/codex |
These volumes are declared in the Dockerfile and included in all docker run examples above. If you haven't authenticated with these tools on your host yet, the directories will be created automatically and you can authenticate from inside the container.
developer)/home/developer/workspacedocker run --rm -it coder-dev /bin/zsh



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务