coder/examples/templates/docker
Mathias Fredriksson a1212014df
chore(examples): Add `login_before_ready` and `startup_script_timeout` (#5880)
2023-01-27 21:01:48 +00:00
..
build chore(examples): Add `login_before_ready` and `startup_script_timeout` (#5880) 2023-01-27 21:01:48 +00:00
README.md chore: Add icons to templates (#5368) 2022-12-09 18:47:09 +00:00
main.tf chore(examples): Add `login_before_ready` and `startup_script_timeout` (#5880) 2023-01-27 21:01:48 +00:00

README.md

name description tags icon
Develop in Docker Run workspaces on a Docker host using registry images
local
docker
/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.

Extending this template

See the kreuzwerker/docker Terraform provider documentation to add the following features to your Coder template:

  • SSH/TCP docker host
  • Registry authentication
  • Build args
  • Volume mounts
  • Custom container spec
  • More

We also welcome contributions!