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.
Coder supports custom configuration in your devcontainer.json file through the
customizations.coder block. These options let you control how Coder interacts
with your dev container without requiring template changes.
Tip
Alternatively, template administrators can also define apps, scripts, and
environment variables for dev containers directly in Terraform. See
Attach resources to dev containers
for details.
Ignore a dev container
Use the ignore option to hide a dev container from Coder completely:
{
"name": "My Dev Container",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"customizations": {
"coder": {
"ignore": true
}
}
}
When ignore is set to true:
The dev container won't appear in the Coder UI
Coder won't manage or monitor the container
This is useful for dev containers in your repository that you don't want Coder
to manage.
Auto-start
Control whether your dev container should auto-start using the autoStart
option:
{
"name": "My Dev Container",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"customizations": {
"coder": {
"autoStart": true
}
}
}
When autoStart is set to true, the dev container automatically builds and
starts during workspace initialization.
When autoStart is set to false or omitted, the dev container is discovered
and shown in the UI, but users must manually start it.
Note
The autoStart option only takes effect when your template administrator has
enabled CODER_AGENT_DEVCONTAINERS_DISCOVERY_AUTOSTART_ENABLE.
If this setting is disabled at the template level, containers won't auto-start
regardless of this option.
Custom agent name
Each dev container gets an agent name derived from the workspace folder path by
default. You can set a custom name using the name option:
{
"name": "My Dev Container",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"customizations": {
"coder": {
"name": "my-custom-agent"
}
}
}
The name must contain only lowercase letters, numbers, and hyphens. This name
appears in coder ssh commands and the dashboard (e.g.,
coder ssh my-workspace.my-custom-agent).
Display apps
Control which built-in Coder apps appear for your dev container using
displayApps:
Disable built-in apps to reduce clutter or guide developers toward preferred tools
When your dev container uses features, Coder exposes feature options as
environment variables. The format is FEATURE_<FEATURE_NAME>_OPTION_<OPTION_NAME>.