mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
docs: clarify using user on raw_exec driver (#17897)
This commit is contained in:
@@ -37,6 +37,9 @@ The `raw_exec` driver supports the following configuration in the job spec:
|
||||
variables](/nomad/docs/runtime/interpolation) will be interpreted before
|
||||
launching the task.
|
||||
|
||||
~> The `task.user` field cannot be set on a Task using the `raw_exec` driver if
|
||||
the Nomad client has been hardened according to the [production][hardening] guide.
|
||||
|
||||
## Examples
|
||||
|
||||
To run a binary present on the Node:
|
||||
@@ -153,5 +156,6 @@ the process tree. Cgroups are used on Linux when Nomad is being run with
|
||||
appropriate privileges, the cgroup system is mounted and the operator hasn't
|
||||
disabled cgroups for the driver.
|
||||
|
||||
[hardening]: /nomad/docs/install/production/requirements#user-permissions
|
||||
[plugin-options]: #plugin-options
|
||||
[plugin-block]: /nomad/docs/configuration/plugin
|
||||
|
||||
Reference in New Issue
Block a user