Skip to content

Commit 736202d

Browse files
committed
add dev-container-envbuilder comparison
1 parent d978111 commit 736202d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Choose an Approach To Dev Containers
2+
3+
Coder supports two independent ways to run Dev Containers inside a workspace.
4+
5+
Both implement the [Dev Container specification](https://containers.dev/), but they differ in how the container is built,
6+
who controls it, and which runtime requirements exist.
7+
8+
Use this page to decide which path fits your project or platform needs.
9+
10+
## Options at a Glance
11+
12+
| Capability / Trait | Dev Containers integration | Envbuilder |
13+
|------------------------------------------|--------------------------------------------|-------------------------------------------|
14+
| How it's built | `@devcontainers/cli` and Docker | Envbuilder transforms the workspace image |
15+
| Docker-in-Docker? | Yes (parent workspace and child container) | No (modifies the parent container) |
16+
| Multiple dev containers per workspace | Yes | No |
17+
| Rebuild when `devcontainer.json` changes | Yes - user-initiated | Requires full workspace restart |
18+
19+
## Related Reading
20+
21+
- [Dev Containers integration](./devcontainers.md)
22+
- [Dev Containers specification](https://containers.dev/)
23+
- [Envbuilder on GitHub](https://github.com/coder/envbuilder)

0 commit comments

Comments
 (0)