File tree 1 file changed +29
-0
lines changed 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,35 @@ Coder will now run in the background.
196
196
For more detailed information on the Docker Compose file, please see
197
197
[ Docker's docs] ( https://docs.docker.com/compose/compose-file/compose-file-v3/ ) .
198
198
199
+ ## Coder templates
200
+
201
+ You can use
202
+ [ templates] ( https://coder.com/docs/coder/latest/workspaces/workspace-templates/templates#workspace-template-sample )
203
+ with Coder for Docker to define how Coder builds your workspaces.
204
+
205
+ To use a standard Coder workspace template for Docker:
206
+
207
+ 1 . Change the ` workspace.type ` and` workspace.specs ` to ` docker `
208
+ 1 . Remove any Kubernetes-specific ` workspace.specs.kubernetes values ` (e.g.,
209
+ ` cpu ` , ` memory ` , ` gpu ` )
210
+
211
+ Your configuration file will look something like the following:
212
+
213
+ ``` yaml
214
+ version : 0.2
215
+ workspace :
216
+ type : docker
217
+ specs :
218
+ docker :
219
+ image :
220
+ value : index.docker.io/codercom/enterprise-intellij:ubuntu
221
+ container-based-vm :
222
+ value : false
223
+ configure :
224
+ start :
225
+ ...
226
+ ```
227
+
199
228
## Ensure that user IPs show up in the audit logs
200
229
201
230
If you would like users' IP addresses to show up in the audit logs (i.e.,
You can’t perform that action at this time.
0 commit comments