@@ -142,73 +142,17 @@ always auto-start regardless of this setting.
142142
143143## Per-Container Customizations
144144
145- Individual Dev Containers can be customized using the ` customizations.coder ` block
146- in your ` devcontainer.json ` file. These customizations allow you to control
147- container-specific behavior without modifying your template.
148-
149- ### Ignore Specific Containers
150-
151- Use the ` ignore ` option to hide a Dev Container from Coder completely:
152-
153- ``` json
154- {
155- "name" : " My Dev Container" ,
156- "image" : " mcr.microsoft.com/devcontainers/base:ubuntu" ,
157- "customizations" : {
158- "coder" : {
159- "ignore" : true
160- }
161- }
162- }
163- ```
164-
165- When ` ignore ` is set to ` true ` :
166-
167- - The Dev Container won't appear in the Coder UI
168- - Coder won't manage or monitor the container
169-
170- This is useful when you have Dev Containers in your repository that you don't
171- want Coder to manage.
172-
173- ### Per-Container Auto-Start
174-
175- Control whether individual Dev Containers should auto-start using the
176- ` autoStart ` option:
177-
178- ``` json
179- {
180- "name" : " My Dev Container" ,
181- "image" : " mcr.microsoft.com/devcontainers/base:ubuntu" ,
182- "customizations" : {
183- "coder" : {
184- "autoStart" : true
185- }
186- }
187- }
188- ```
189-
190- ** Important** : The ` autoStart ` option only applies when global auto-start is
191- enabled via ` CODER_AGENT_DEVCONTAINERS_DISCOVERY_AUTOSTART_ENABLE=true ` . If
192- the global setting is disabled, containers won't auto-start regardless of this
193- setting.
194-
195- When ` autoStart ` is set to ` true ` :
196-
197- - The Dev Container automatically builds and starts during workspace
198- initialization
199- - Works on a per-container basis (you can enable it for some containers but not
200- others)
201-
202- When ` autoStart ` is set to ` false ` or omitted:
203-
204- - The Dev Container is discovered and shown in the UI
205- - Users must manually start it via the UI
145+ Developers can customize individual dev containers using the ` customizations.coder `
146+ block in their ` devcontainer.json ` file. Available options include:
206147
207- ### Additional customizations
148+ - ` ignore ` — Hide a dev container from Coder completely
149+ - ` autoStart ` — Control whether the container starts automatically (requires
150+ ` CODER_AGENT_DEVCONTAINERS_DISCOVERY_AUTOSTART_ENABLE ` to be enabled)
151+ - ` name ` — Set a custom agent name
152+ - ` displayApps ` — Control which built-in apps appear
153+ - ` apps ` — Define custom applications
208154
209- Developers can further customize their dev containers with custom agent names,
210- display apps, custom applications, and more. See
211- [ Customizing dev containers] ( ../../../user-guides/devcontainers/customizing-dev-containers.md )
155+ See [ Customizing dev containers] ( ../../../user-guides/devcontainers/customizing-dev-containers.md )
212156for the full reference.
213157
214158## Complete Template Example
0 commit comments