title: Mount an empty folder in host to a non-empty folder in Docker
body: <p>The tool I'm using is delivered in a Docker image. Since installing the tool is extremely complicated with a bunch of dependencies, I want to work on the host with my IDE, but run it on the container.</p>
  
  <p>So after download and load the image, I run:</p>
  
  <pre><code>sudo docker run -it -v /home/myself/WIP/thetool:/home/thetool name/label
  </code></pre>
  
  <p>Without mounting, the tool is located under <code>/home/thetool</code>, but with mounting, this folder is empty (since the folder in the host is empty).</p>
  
  <p>Do I need to copy the tool from the container, then mount it, or there is a way to do it directly.</p>