From aa18f4a005cb9478464321d4e0a65d1d77058946 Mon Sep 17 00:00:00 2001 From: Theo Hultberg Date: Mon, 12 Sep 2016 18:22:31 +0200 Subject: [PATCH] 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. --- website/source/docs/drivers/java.html.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/website/source/docs/drivers/java.html.md b/website/source/docs/drivers/java.html.md index 7e0ca6ff8..9d4f395a7 100644 --- a/website/source/docs/drivers/java.html.md +++ b/website/source/docs/drivers/java.html.md @@ -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