Skip to content

Commit babe9a0

Browse files
committed
add images
1 parent 70e3853 commit babe9a0

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

docs/early-access/devcontainers.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,11 @@ resource "docker_container" "workspace" {
192192

193193
## Working with Dev Containers
194194

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+
195200
### SSH Access
196201

197202
You can SSH into your dev container directly using the Coder CLI:
@@ -211,6 +216,8 @@ coder ssh --container keen_dijkstra my-workspace
211216
Once your workspace and dev container are running, you can use the web terminal
212217
in the Coder interface to execute commands directly inside the dev container.
213218

219+
![Coder web terminal with dev container](../images/early-access/devcontainer-web-terminal.png)
220+
214221
### IDE Integration (VS Code)
215222

216223
You can open your dev container directly in VS Code by:
@@ -240,7 +247,7 @@ For example, with this `devcontainer.json` configuration:
240247

241248
```json
242249
{
243-
"appPort": ["8080:8080", "4000:3000"]
250+
"appPort": ["8080:8080", "4000:3000"]
244251
}
245252
```
246253

@@ -268,13 +275,13 @@ To use the code-server feature, add the following to your `devcontainer.json`:
268275

269276
```json
270277
{
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"]
278285
}
279286
```
280287

133 KB
Loading
49.8 KB
Loading

0 commit comments

Comments
 (0)