Coder powers secure, scalable development across key industries — automotive, finance, government, and technology — enabling faster builds, tighter compliance, and seamless AI adoption in enterprise-grade cloud environments.
The Coder dev containers integration is an early access feature.
While functional for testing and feedback, it may change significantly before general availability.
The dev containers integration is an early access feature that enables seamless
creation and management of dev containers in Coder workspaces. This feature
leverages the @devcontainers/cli and
Docker to provide a streamlined development
experience.
Appropriate permissions to execute Docker commands inside your workspace
How It Works
The dev containers integration utilizes the devcontainer command from
@devcontainers/cli to manage dev
containers within your Coder workspace.
This command provides comprehensive functionality for creating, starting, and managing dev containers.
Dev environments are configured through a standard devcontainer.json file,
which allows for extensive customization of your development setup.
When a workspace with the dev containers integration starts:
The workspace initializes the Docker environment.
The integration detects repositories with a .devcontainer directory or a
devcontainer.json file.
The integration builds and starts the dev container based on the
configuration.
Your workspace automatically detects the running dev container.
Features
Available Now
Automatic dev container detection from repositories
Seamless dev container startup during workspace initialization
Integrated IDE experience in dev containers with VS Code
Direct service access in dev containers
Limited SSH access to dev containers
Coming Soon
Dev container change detection
On-demand dev container recreation
Support for automatic port forwarding inside the container
Full native SSH support to dev containers
Limitations during Early Access
During the early access phase, the dev containers integration has the following
limitations:
Changes to the devcontainer.json file require manual container recreation
Automatic port forwarding only works for ports specified in appPort
SSH access requires using the --container flag
Some devcontainer features may not work as expected
These limitations will be addressed in future updates as the feature matures.
Comparison with Envbuilder-based Dev Containers
Feature
Dev Containers (Early Access)
Envbuilder Dev Containers
Implementation
Direct @devcontainers/cli and Docker
Coder's Envbuilder
Target users
Individual developers
Platform teams and administrators
Configuration
Standard devcontainer.json
Terraform templates with Envbuilder
Management
User-controlled
Admin-controlled
Requirements
Docker access in workspace
Compatible with more restricted environments
Choose the appropriate solution based on your team's needs and infrastructure
constraints. For additional details on Envbuilder's dev container support, see
the
Envbuilder devcontainer spec support documentation.