
A 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:
!https://raw.githubusercontent.com/Yotzee/coder/master/screenshots/desktop.png
All 12+ development tools come pre-installed and ready to use:
!https://raw.githubusercontent.com/Yotzee/coder/master/screenshots/tools.png
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您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。




探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务