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.
This commit is contained in:
Karan Sharma 2021-02-10 10:58:05 +05:30 committed by Tim Gross
parent 7d6e81e9e4
commit 26199289fc
1 changed files with 5 additions and 7 deletions

View File

@ -245,13 +245,11 @@ task "task" {
config {
image = "redis:6.0"
mounts = [
{
mount {
type = "bind"
source = "local"
target = "/etc/redis.d"
}
]
}
template {