Skip to content

Commit 2f38dbc

Browse files
chore(README.md): document CODER_BOOTSTRAP_SCRIPT (#130)
Adds missing docs regarding CODER_BOOTSTRAP_SCRIPT in README Co-authored-by: Cian Johnston <[email protected]>
1 parent a09c7c2 commit 2f38dbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ The environment variables can be used to configure various aspects of the inner
1919
| `CODER_INNER_HOSTNAME` | The hostname to use for the inner container. | false |
2020
| `CODER_IMAGE_PULL_SECRET` | The docker credentials to use when pulling the inner container. The recommended way to do this is to create an [Image Pull Secret](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-secret-by-providing-credentials-on-the-command-line) and then reference the secret using an [environment variable](https://kubernetes.io/docs/tasks/inject-data-application/distribute-credentials-secure/#define-container-environment-variables-using-secret-data). See below for example. | false |
2121
| `CODER_DOCKER_BRIDGE_CIDR` | The bridge CIDR to start the Docker daemon with. | false |
22+
| `CODER_BOOTSTRAP_SCRIPT` | The script to use to bootstrap the container. This should typically install and start the agent. | |
23+
| false | | |
2224
| `CODER_MOUNTS` | A list of mounts to mount into the inner container. Mounts default to `rw`. Ex: `CODER_MOUNTS=/home/coder:/home/coder,/var/run/mysecret:/var/run/mysecret:ro` | false |
2325
| `CODER_USR_LIB_DIR` | The mountpoint of the host `/usr/lib` directory. Only required when using GPUs. | false |
2426
| `CODER_INNER_USR_LIB_DIR` | The inner /usr/lib mountpoint. This is automatically detected based on `/etc/os-release` in the inner image, but may optionally be overridden. | false |

0 commit comments

Comments
 (0)