mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
This commit makes the following changes: - Adds two variables docker_host and docker_arch to the example docker-code-server template - Adds an example params.yaml to docker-code-server and updates the README.md to reference these parameters - scripts/develop.sh will now attempt to create a template using docker-code-server with the appropriate parameters for the environment - Updated Lima example to make use of the template parameters for docker-code-server Additional drive-bys: - webpack.dev.ts references CODER_HOST and not CODERV2_HOST; updated develop.sh accordingly - develop.sh should now terminate child processes upon error.
name, description, tags
name | description | tags | ||
---|---|---|---|---|
Develop code-server in Docker | Run code-server in a Docker development environment |
|
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 runnning
docker context ls
.docker_arch
: Architecture of the host running Docker. This can beamd64
,arm64
, orarmv7
.