Skip to content

Commit 4aec9cf

Browse files
committed
start
1 parent b4751c7 commit 4aec9cf

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

docs/manifest.json

+6
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@
175175
"description": "Use docker inside containerized templates",
176176
"path": "./templates/docker-in-workspaces.md",
177177
"icon_path": "./images/icons/docker.svg"
178+
},
179+
{
180+
"title": "Devcontainers",
181+
"description": "Use devcontainers in workspaces",
182+
"path": "./templates/devcontainers.md",
183+
"state": "alpha"
178184
}
179185
]
180186
},

docs/templates/devcontainers.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Devcontainers (alpha)
2+
3+
[Devcontainers](https://containers.dev) are an open source specification for defining development environments. With [envbuilder](https://github.com/coder/coder), an open source project by Coder, you can support devcontainers in your Coder templates. There are several benefits to this:
4+
5+
- Drop-in migration from Codespaces or any repositories that use devcontainers
6+
- Developer teams can manage their own images/dependencies in the project repository without relying on an image registry, CI pipelines, or manual effort from platform teams
7+
8+
## How it works
9+
10+
- Coder admins add a devcontainer-compatible template to Coder (this can run on VMs, Docker, or Kubernetes)
11+
12+
- Developers enter their repository URL as a [parameter](./parameters.md) when creating workspaces. [envbuilder](https://github.com/coder/envbuilder) clones the repo and builds a container from the `devcontainer.json` specified in the repo.
13+
14+
- Developers can edit the `devcontainer.json` in their workspace and rebuild to iterate on their development environment.
15+
16+
## Caching

0 commit comments

Comments
 (0)