diff --git a/website/pages/docs/drivers/docker.mdx b/website/pages/docs/drivers/docker.mdx index bcc478cb1..18d091f8e 100644 --- a/website/pages/docs/drivers/docker.mdx +++ b/website/pages/docs/drivers/docker.mdx @@ -408,11 +408,12 @@ The `docker` driver supports the following configuration in the job spec. Only - `runtime` - (Optional) A string representing a configured runtime to pass to docker. This is equivalent to the `--runtime` argument in the docker CLI - For example, to use gvisor: + For example, to use gVisor: ```hcl config { - runtime = "runc" + # gVisor runtime is runsc + runtime = "runsc" } ``` @@ -709,6 +710,9 @@ plugin "docker" { and cap_drop options. Supports the value "ALL" as a shortcut for whitelisting all capabilities. +- `allow_runtimes` - defaults to `["runc", "nvidia"]` - A list of the allowed + docker runtimes a task may use. + - `auth` stanza: - `config` - Allows an operator to specify a