title: Invalid mount config for type "bind": bind source path does not exist when trying to run container on Docker for Windows
body: <p>I'm trying to run the Prometheus sample at <a href="https://docs.docker.com/engine/admin/prometheus/#use-prometheus" rel="noreferrer">https://docs.docker.com/engine/admin/prometheus/#use-prometheus</a> using Docker on Windows. I'm executing the following command:</p>
  
  <pre><code>docker service create --replicas 1 --name my-prometheus `
     --mount type=bind,source="C:/temp/prometheus.yml",destination=/etc/prometheus/prometheus.yml `
     --publish published=9090,target=9090,protocol=tcp `
     prom/prometheus
  </code></pre>
  
  <p>The error is: <em>invalid mount config for type "bind": bind source path does not exist</em></p>
  
  <p>I'm pretty certain the file exists (<code>Test-Path</code> with PowerShell returns true).</p>
  
  <p>Any idea what I'm doing wrong?</p>
  
  <h2>Update</h2>
  
  <p>Running the same command with <code>mount type = volume</code> gives me the following error:</p>
  
  <p><em>C:/temp/prometheus.yml" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path"</em></p>
  
  <p>I am passing an host directory and <code>"C:/temp/prometheus.yml"</code> is an absolute path.</p>