mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 03:15:42 +03:00
update docs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user