title: Save information from docker container to local
body: <p>I'm trying to save a file created in a docker image (docker_test.csv) to my local machine.</p>
  <p>I have a image that looks like this</p>
  <pre><code>FROM python:3.9-alpine3.13
      
  RUN echo hello &gt;&gt; 'docker_test.csv'
  </code></pre>
  <p>I create the image using this line</p>
  <pre><code>docker build --tag dockerfile .
  </code></pre>
  <p>I try to run using</p>
  <pre><code>docker run -v $(pwd): -p 8080:8080 -it dockerfile
  </code></pre>
  <p>But I get the below error</p>
  <blockquote>
  <p>docker: Error response from daemon: invalid volume specification: '/host_mnt/Users/username/documents :'</p>
  </blockquote>
  <p>I'm not sure where to go from here, I've tried different configurations of paths but everything seems to lead to an error.</p>