title: How to export Mongo-database using Docker?
body: <p>I use "mongoDB" image in docker-container. 
  When I run command for export DB to csv:</p>
  
  <pre><code>docker exec -i 418f46e5595d  mongoexport --db saveInfo --collection infoobjects --type=csv --fields _id,postLink,postTitle,contactPhone --out ./info.csv
  </code></pre>
  
  <p>File saved in folder where container is working. How can I save it on my machine?</p>