mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Docker privileged checks if host enabled it
This commit is contained in:
@@ -34,8 +34,8 @@ The `docker` driver supports the following configuration in the job specificatio
|
||||
|
||||
* `privileged` - (optional) Privileged mode gives the container full access to
|
||||
the host. Valid options are `"true"` and `"false"` (defaults to `"false"`).
|
||||
In order to use privileged mode, a client with the option
|
||||
`docker.privileged.enabled = "true"` must be available.
|
||||
Tasks with `privileged` set can only run on Nomad Agents with
|
||||
`docker.privileged.enabled = "true"`.
|
||||
|
||||
* `dns-servers` - (optional) A comma separated list of DNS servers for the container
|
||||
to use (e.g. "8.8.8.8,8.8.4.4"). *Docker API v1.10 and above only*
|
||||
@@ -143,7 +143,7 @@ The `docker` driver has the following configuration options:
|
||||
|
||||
* `docker.privileged.enabled` Defaults to `false`. Changing this to `true` will
|
||||
allow containers to use "privileged" mode, which gives the containers full access
|
||||
to the host
|
||||
to the host.
|
||||
|
||||
|
||||
Note: When testing or using the `-dev` flag you can use `DOCKER_HOST`,
|
||||
|
||||
Reference in New Issue
Block a user