Files
coder/examples/templates/docker-code-server
Mathias Fredriksson b2a16d46c6 chore: Unify Docker terraform templates (#4952)
Changes to terraform templates:

* Remove DNS (this can interfere with users running their own DNS
  servers)
* Remove `lower()` restriction from hostnames so that it will show the
  name set by the user, as-is (there is no restriction on upper case
  letters in hostnames)
* Remove superfluous `trap` in entrypoints, this is already handled by
  the init script
* Switch from `command` to `entrypoint` as the latter can support more
  Docker images out-of-the-box
2022-11-08 18:52:19 +02:00
..
2022-08-01 09:29:52 -04:00

name, description, tags
name description tags
Develop code-server in Docker Run code-server in a Docker development environment
local
docker

code-server in Docker

Getting started

Run coder templates init and select this template. Follow the instructions that appear.

Supported Parameters

You can create a file containing parameters and pass the argument --parameter-file to coder templates create. See params.sample.yaml for more information.

This template has the following predefined parameters:

  • docker_host: Path to (or address of) the Docker socket.

    You can determine the correct value for this by running docker context ls.

  • docker_arch: Architecture of the host running Docker. This can be amd64, arm64, or armv7.