update docs

This commit is contained in:
Mahmood Ali
2020-05-12 11:07:12 -04:00
parent 9aa10cc4cd
commit a4e77ab80d

View File

@@ -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`<a id="plugin_auth_file"></a> - Allows an operator to specify a