From 25818cefbf6ecd4ef6b5465bf3b00cc0918a5809 Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Fri, 16 Oct 2020 10:19:12 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com> --- website/pages/docs/commands/alloc/fs.mdx | 5 ++--- website/pages/docs/drivers/docker.mdx | 13 +++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/website/pages/docs/commands/alloc/fs.mdx b/website/pages/docs/commands/alloc/fs.mdx index 03ddd1d2b..cb65e51a3 100644 --- a/website/pages/docs/commands/alloc/fs.mdx +++ b/website/pages/docs/commands/alloc/fs.mdx @@ -33,9 +33,8 @@ nomad alloc fs [options] This command accepts a single allocation ID (unless the `-job` flag is specified, in which case an allocation is chosen from the given job) and a -path. The path is relative to the root of the [allocation working -directory]. The path is optional and it defaults to `/` of the allocation -directory. +path. The path is optional and relative to the root of the [allocation working +directory]. ## General Options diff --git a/website/pages/docs/drivers/docker.mdx b/website/pages/docs/drivers/docker.mdx index fbae2f272..271fb5eb6 100644 --- a/website/pages/docs/drivers/docker.mdx +++ b/website/pages/docs/drivers/docker.mdx @@ -267,12 +267,13 @@ The `docker` driver supports the following configuration in the job spec. Only docker daemon. - `volumes` - (Optional) A list of `host_path:container_path` strings to bind - host paths to container paths. Mounting host paths outside of the - [allocation working directory] can be disabled on clients by setting the - `docker.volumes.enabled` option set to false. This will limit volumes to - directories that exist inside the allocation working directory. We recommend - using [`mounts`](#mounts) if you wish to have more control over volume - definitions. + host paths to container paths. Mounting host paths outside of the [allocation + working directory] is prevented by default and limits volumes to directories + that exist inside the allocation working directory. You can allow mounting + host paths outside of the [allocation working directory] on individual clients + by setting the `docker.volumes.enabled` option to `true` in the client's + configuration. We recommend using [`mounts`](#mounts) if you wish to have more + control over volume definitions. ```hcl config {