Skip to content

Commit

Permalink
fix: docs/job-specification change mounts to mount
Browse files Browse the repository at this point in the history
Since [mounts](https://www.nomadproject.io/docs/drivers/docker#mounts) is deprecated,
switch to newer `mount` in `task.config` for `docker` driver.
  • Loading branch information
mr-karan authored and tgross committed Feb 10, 2021
1 parent c7b5ae6 commit 06744e0
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions website/content/docs/job-specification/template.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 06744e0

Please sign in to comment.