title: container init caused \"rootfs_linux.go:58: mounting to rootfs caused not a directory
body: <p>I've got a problem with my docker configuration on windows 7. I'm using docker toolbox.</p>
  
  <p>Previously my config worked perfectly, but now it cause an error.</p>
  
  <p><code>DOCKER&gt; I/O Error [Unable to start container id [7b5a4bd7ccfd] : OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \"rootfs_linux.go:58: mounting \\\"/c/Users/myProject/zip/src/elastic/elasticsearch.yml\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/overlay2/f2f7c25fc05de0ec45cef945b0917beefe26bd1d0a31546378c2ffabfb905ccb/merged\\\" at \\\"/mnt/sda1/var/lib/docker/overlay2/f2f7c25fc05de0ec45cef945b0917beefe26bd1d0a31546378c2ffabfb905ccb/merged/usr/share/elasticsearch/config/elasticsearch.yml\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type (Bad Request: 400)]
  </code></p>
  
  <p>I've investigated problem and found that docker mount elasticsearch.yml file as folder, but in host it exists as file. Does anyone knows how could it be?</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;volumes&gt;
    &lt;bind&gt;
  &lt;volume&gt;${basedir}/src/elastic/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml&lt;/volume&gt;
    &lt;/bind&gt;
  &lt;/volumes&gt;
  </code></pre>
  
  <p>I expect that docker fount that file as file.</p>
  
  <p>Thanks a lot</p>