mirror of
https://github.com/coder/coder.git
synced 2026-11-14 05:40:03 +08:00
Fixes https://github.com/coder/coder/issues/15972 Adds `keep_locally = true` to other templates that use the `docker_image` resource to prevent the docker provider from attempting to remove the image upon workspace deletion. We had set this in some other places (such as the `dogfood` template) but had not set this consistently in other templates.
name, description, tags, icon
| name | description | tags | icon | |||
|---|---|---|---|---|---|---|
| JFrog and Docker | Develop inside Docker containers using your local daemon |
|
/icon/docker.png |
Docker
To get started, run coder templates init. When prompted, select this template.
Follow the on-screen instructions to proceed.
Editing the image
Edit the Dockerfile and run coder templates push to update workspaces.
code-server
code-server is installed via the startup_script argument in the coder_agent
resource block. The coder_app resource is defined to access code-server through
the dashboard UI over localhost:13337.
Next steps
Check out our Docker template for a more fully featured Docker example.