From 06744e0f9d0a54115077295b8a856f973c440f7d Mon Sep 17 00:00:00 2001 From: Karan Sharma Date: Wed, 10 Feb 2021 10:58:05 +0530 Subject: [PATCH] fix: docs/job-specification change mounts to mount Since [mounts](https://www.nomadproject.io/docs/drivers/docker#mounts) is deprecated, switch to newer `mount` in `task.config` for `docker` driver. --- website/content/docs/job-specification/template.mdx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/website/content/docs/job-specification/template.mdx b/website/content/docs/job-specification/template.mdx index 4b59a90eb48..18704ded56e 100644 --- a/website/content/docs/job-specification/template.mdx +++ b/website/content/docs/job-specification/template.mdx @@ -245,13 +245,11 @@ task "task" { config { image = "redis:6.0" - mounts = [ - { - type = "bind" - source = "local" - target = "/etc/redis.d" - } - ] + mount { + type = "bind" + source = "local" + target = "/etc/redis.d" + } } template {