Welcome to the DDEV Coder template documentation. This guide helps you deploy, manage, and use cloud-based DDEV development environments.
- Project README - Quick start and overview
- Developer Guide (CLAUDE.md) - For contributors and AI-assisted development
- Image Build Instructions - Docker image details
System administrators and DevOps teams managing Coder infrastructure and the DDEV template.
- Server Setup Guide - Fresh server installation: Docker, Sysbox, Coder server, adding capacity
- Operations Guide - Template deployment, Docker image builds, version management, workspace lifecycle
- User Management Guide - User accounts, roles, permissions, SSH keys, API tokens, resource quotas
- Troubleshooting Guide - Common issues, debugging tools, error messages, emergency recovery
New installation: Server Setup Guide Ongoing operations: Operations Guide
Developers and users creating and working with DDEV workspaces.
- Drupal Core Quickstart - Get a Drupal core workspace running in minutes; issue fork support
- Getting Started Guide - First-time setup, creating your first workspace, basic verification
- Using Workspaces - Daily workflows, VS Code for Web, DDEV projects, Git, port forwarding
Drupal core contributors: Quickstart New to Coder: Getting Started Guide
For teams evaluating this template or users familiar with local DDEV.
- Comparison to Local DDEV - Architecture differences, feature parity, benefits, tradeoffs, migration
Start here: Comparison to Local DDEV
The DDEV Coder template provides cloud-based development environments with full DDEV support:
- Docker-in-Docker - Each workspace has isolated Docker daemon (via Sysbox runtime)
- DDEV pre-installed - Ready to run PHP, Node.js, Python projects
- VS Code for Web - Browser-based IDE with full extension support
- Persistent storage - Home directory and Docker volumes preserved across sessions
- Port forwarding - Access DDEV projects via Coder's secure proxy
- Coder v2+ - Open-source infrastructure for creating remote development environments
- Sysbox - Secure nested containers without privileged mode
- DDEV - Local development tool for PHP/Node/Python (supports 20+ project types)
- Ubuntu 24.04 - Base container OS
- Terraform - Infrastructure as Code for template definition
- Consistent environments - Everyone uses the same versions, tools, configuration
- Fast onboarding - New developers get working environment in minutes
- No local setup - No Docker Desktop, no dependency conflicts
- Access anywhere - Work from any device with a browser
- Cloud resources - Use powerful cloud machines for heavy workloads
- Persistent state - Stop/start workspaces without losing work
- Pre-configured environments - Students don't need to install tools
- Isolated workspaces - Each student has separate environment
- Easy reset - Instructor can recreate clean environments
┌─────────────────────────────────────────┐
│ Coder Server (Management Plane) │
│ - User authentication │
│ - Template management │
│ - Workspace orchestration │
└─────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────┐
│ Coder Agent Node (Workspaces) │
│ ┌─────────────────────────────────────┐ │
│ │ Workspace Container (Sysbox) │ │
│ │ ┌─────────────────────────────────┐ │ │
│ │ │ Docker Daemon (inside) │ │ │
│ │ │ ┌─────────────────────────────┐ │ │ │
│ │ │ │ DDEV Containers │ │ │ │
│ │ │ │ - Web (PHP/Node/Python) │ │ │ │
│ │ │ │ - Database (MySQL/Postgres) │ │ │ │
│ │ │ │ - Additional services │ │ │ │
│ │ │ └─────────────────────────────┘ │ │ │
│ │ └─────────────────────────────────┘ │ │
│ │ /home/coder (persistent volume) │ │
│ └─────────────────────────────────────┘ │
└─────────────────────────────────────────┘
Key points:
- Each workspace is an isolated container with its own Docker daemon
- DDEV runs inside the workspace using the nested Docker daemon
- Sysbox provides security without
--privilegedmode - VS Code for Web connects directly to workspace via Coder agent
✅ Docker and Docker Compose - Full Docker CLI and daemon ✅ DDEV - Latest stable version with all features ✅ Node.js LTS - Version 24.x pre-installed ✅ VS Code for Web - Official Coder module with extension support ✅ Git with SSH - GitSSH integration for seamless cloning ✅ System tools - curl, wget, vim, build-essential, bash-completion ✅ Passwordless sudo - Full system access within workspace
❌ Local Docker Desktop - Replaced by Docker-in-Docker ❌ Local DDEV - Runs in cloud workspace instead ❌ Direct port binding - Use Coder's port forwarding ❌ Host network access - Isolated workspace networking
DDEV supports 20+ project types out of the box:
- PHP: Drupal, WordPress, Laravel, Symfony, Magento, Typo3, Craft CMS, Backdrop
- Node.js: Any framework (Next.js, Express, Gatsby, etc.)
- Python: Django, Flask, any Python web app
- Static sites: HTML, Jekyll, Hugo
- Generic: Custom PHP, Go, Rust, and more
# Commands run on your local machine
coder login https://coder.example.com
# Commands run inside workspace (after 'coder ssh workspace')
ddev start- Host paths:
/coder-workspaces/<owner>-<workspace> - Workspace paths:
/home/coder(inside container) - Template paths:
user-defined-web/template.tf(in this repository)
<workspace-name>- Name of your workspace (e.g.,my-project)<owner>- Username of workspace owner<org>- Coder organization name<version>- Docker image version (e.g.,v0.1)
- GitHub Issues: Report bugs or request features
- DDEV Documentation: Official DDEV docs
- Coder Documentation: Official Coder docs
- Coder Discord: Community chat
- Check the Troubleshooting Guide
- Search existing GitHub issues
- Review DDEV troubleshooting docs
Include:
- Workspace logs:
coder logs <workspace> - Template version:
cat VERSION - Coder version:
coder version - DDEV version:
coder ssh <workspace> -- ddev version - Full error messages
This is an open-source project. Contributions welcome!
- Report bugs: GitHub Issues
- Contribute code: Fork, branch, submit PR
- Documentation: Suggest improvements or add examples
- AI-assisted development: See CLAUDE.md for AI workflow
See LICENSE file for details.
Current version: See VERSION file.
- Read Server Setup Guide (new installations)
- Read Operations Guide
- Build Docker image and deploy template
- Create test workspace
- Read Getting Started Guide
- Install Coder CLI
- Create your first workspace
- Start a DDEV project
- Read Comparison to Local DDEV
- Understand architecture differences
- Evaluate for your team
- Plan migration strategy