From a4e77ab80d4f5e24bef159bf760033084719b115 Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Tue, 12 May 2020 11:07:12 -0400 Subject: [PATCH] update docs --- website/pages/docs/drivers/docker.mdx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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