Clarify that the Java driver needs root on Linux

Update the Java task driver docs to clarify that Nomad needs to run as root on Linux.
This commit is contained in:
Theo Hultberg
2016-09-12 18:22:31 +02:00
committed by GitHub
parent 82863bb9fb
commit aa18f4a005

View File

@@ -61,9 +61,10 @@ task "web" {
## Client Requirements
The `java` driver requires Java to be installed and in your system's `$PATH`. The
task must also specify at least one artifact to download, as this is the only way
to retrieve the Jar being run.
The `java` driver requires Java to be installed and in your system's `$PATH`. On
Linux, Nomad must run as root since it will use `chroot` and `cgroups` which
require root privileges. The task must also specify at least one artifact to
download, as this is the only way to retrieve the Jar being run.
## Client Attributes