8000 update troubleshooting · coder/coder@8f392c0 · GitHub
[go: up one dir, main page]

Skip to content
/ coder Public

Commit 8f392c0

Browse files
committed
update troubleshooting
1 parent 06d714c commit 8f392c0

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed
Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Troubleshooting dev containers
22

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
47

58
If your dev container fails to start:
69

@@ -9,8 +12,22 @@ If your dev container fails to start:
912
- `/tmp/coder-agent.log`
1013
- `/tmp/coder-startup-script.log`
1114
- `/tmp/coder-script-[script_id].log`
15+
- `/tmp/devcontainer-build.log`
1216

1317
1. Verify that Docker is running in your workspace.
1418
1. Ensure the `devcontainer.json` file is valid.
1519
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

Comments
 (0)
0