From 7e44f2bfe7c47d824502f778bd27353fe0a975a6 Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Mon, 8 Mar 2021 09:58:22 -0500 Subject: [PATCH] docs: clarify mount source path in filesystem docs --- website/content/docs/internals/filesystem.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/content/docs/internals/filesystem.mdx b/website/content/docs/internals/filesystem.mdx index c4d3aeea6..534164ee4 100644 --- a/website/content/docs/internals/filesystem.mdx +++ b/website/content/docs/internals/filesystem.mdx @@ -232,6 +232,11 @@ EOT } ``` +Note that relative mount source path are relative to the task working +directory, so to bind the `NOMAD_ALLOC_DIR` as a mount source, you will need +to use a relative path that traverses up into the allocation working directory +(ex. `source = "../alloc"`). + ### `chroot` isolation Task drivers like `exec` or `java` (on Linux) use `chroot` isolation, where