1
1
# Troubleshooting dev containers
2
2
3
- ## Dev Container Not Starting
3
+ If you encounter issues with dev containers in your workspace, review the steps here as well as the dev containers
4
+ [ user] ( ./index.md ) and [ admin] ( ../../admin/templates/extending-templates/devcontainers.md#troubleshoot-common-issues ) documentation.
5
+
6
+ ## Container does not start
4
7
5
8
If your dev container fails to start:
6
9
@@ -9,8 +12,22 @@ If your dev container fails to start:
9
12
- ` /tmp/coder-agent.log `
10
13
- ` /tmp/coder-startup-script.log `
11
14
- ` /tmp/coder-script-[script_id].log `
15
+ - ` /tmp/devcontainer-build.log `
12
16
13
17
1 . Verify that Docker is running in your workspace.
14
18
1 . Ensure the ` devcontainer.json ` file is valid.
15
19
1 . Check that the repository has been cloned correctly.
16
- 1 . Verify the resource limits in your workspace are sufficient.
20
+ 1 . Ensure the workspace image has Node/npm and the ` devcontainers-cli ` module installed.
21
+ 1 . Verify that the resource limits in your workspace are sufficient.
22
+
23
+ ## Rebuild prompt does not appear
24
+
25
+ 1 . Confirm that you saved ` devcontainer.json ` (or changes to ` devcontainer.local.json ` ) in the correct repo path detected by Coder.
26
+ 1 . Run ` coder devcontainer rebuild ` manually.
27
+ 1 . Check agent logs for ` devcontainer build ` errors.
28
+
29
+ ## Known Limitations
30
+
31
+ Currently, dev containers are not compatible with the [ prebuilt workspaces] ( ../../admin/templates/extending-templates/prebuilt-workspaces.md ) .
32
+
33
+ If your template allows for prebuilt workspaces, do not select a prebuilt workspace if you plan to use a dev container.
0 commit comments