title: Where does docker volume map . on the host?
body: <p>I'm on a windows 10 machine, in powershell, trying to mount a folder. I thought using "." in the path, it would be mapped to the current directory, but obviously not</p>
  
  <pre><code>cd c:/
  docker run -it -v ./uniquename:/var/uniquename alpine sh
  / # touch /var/uniquename/test
  / # ls /var/uniquename
  test
  / # exit
  cd c:/tmp
  docker run -it -v ./uniquename:/var/uniquename alpine sh
  / # ls /var/uniquename
  test
  / # exit
  </code></pre>
  
  <p>Now, my question is not how to map a volume relative to the current directory - that would be $(pwd) or "use absolute paths" or whatever. My question is:</p>
  
  <p>Where on my host is the mapped folder and newly created file located?</p>