@@ -192,6 +192,11 @@ resource "docker_container" "workspace" {
192
192
193
193
## Working with Dev Containers
194
194
195
+ The dev container integration appears in your Coder dashboard, providing a
196
+ visual representation of the running environment:
197
+
198
+ ![ Dev container integration in Coder dashboard] ( ../images/early-access/devcontainer-agent-ports.png )
199
+
195
200
### SSH Access
196
201
197
202
You can SSH into your dev container directly using the Coder CLI:
@@ -211,6 +216,8 @@ coder ssh --container keen_dijkstra my-workspace
211
216
Once your workspace and dev container are running, you can use the web terminal
212
217
in the Coder interface to execute commands directly inside the dev container.
213
218
219
+ ![ Coder web terminal with dev container] ( ../images/early-access/devcontainer-web-terminal.png )
220
+
214
221
### IDE Integration (VS Code)
215
222
216
223
You can open your dev container directly in VS Code by:
@@ -240,7 +247,7 @@ For example, with this `devcontainer.json` configuration:
240
247
241
248
``` json
242
249
{
243
- "appPort" : [" 8080:8080" , " 4000:3000" ]
250
+ "appPort" : [" 8080:8080" , " 4000:3000" ]
244
251
}
245
252
```
246
253
@@ -268,13 +275,13 @@ To use the code-server feature, add the following to your `devcontainer.json`:
268
275
269
276
``` json
270
277
{
271
- "features" : {
272
- "ghcr.io/coder/devcontainer-features/code-server:1" : {
273
- "port" : 13337 ,
274
- "host" : " 0.0.0.0"
275
- }
276
- },
277
- "appPort" : [" 13337:13337" ]
278
+ "features" : {
279
+ "ghcr.io/coder/devcontainer-features/code-server:1" : {
280
+ "port" : 13337 ,
281
+ "host" : " 0.0.0.0"
282
+ }
283
+ },
284
+ "appPort" : [" 13337:13337" ]
278
285
}
279
286
```
280
287
0 commit comments