Note
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.
This implementation is different from the existing Envbuilder-based dev containers offering.
PrerequisitesThe 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:
.devcontainer
directory or a devcontainer.json
file.During the early access phase, the dev containers integration has the following limitations:
devcontainer.json
file require manual container recreationappPort
--container
flagThese 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.
Next StepsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4