Nomad nfs issue

Hi @angrycub
getting similar error failed to create container API error (400) invalid mount config for type bind invalid mount path prometheus mount path must be absolute

my job file is

job "promtest" {
  datacenters = ["dc1"]

group "promtest" {
  count = 1

 volume "prometheus" {
  type = "host"
  source = "prometheus"
 }
task "grafana" {
template {
        change_mode = "noop"
        destination = "local/prometheus.yml"

        data = <<EOH
---
global:
  scrape_interval:     5s
  evaluation_interval: 5s

scrape_configs:

  - job_name: 'nomad_metrics'

    static_configs:
    - targets: 
        - ipaddress:4646
    scrape_interval: 5s
    metrics_path: /v1/metrics
    params:
      format: ['prometheus']
EOH
      }


  driver = "docker"
  volume_mount {
      volume = "prometheus"
      destination = "prometheus"

     } 
   
  config {
    image = "prom/prometheus:v2.16.0"
    volumes = [
      "local/prometheus.yml:/etc/prometheus/prometheus.yml",
       
       ]
 
  }
}
}
}