title: Failed: mongorestore target 'dump' invalid: stat dump: no such file or directory
body: <p>I'm trying to mongorestore a mongodump-ed set of .bson files to a mongo database that lives within docker, on an Ubuntu instance to which I have SSH access only.</p>
  
  <p>I have a "db" folder, and within that I ran the "mongorestore" command which created the following structure:</p>
  
  <pre><code>├── db
  │   ├── dump
  │   │   └── &lt;dump-name&gt;
  </code></pre>
  
  <p>I now want to run the following command from the db directory: </p>
  
  <pre><code>docker exec -it mongo_db_container mongorestore -d collection_name dump
  </code></pre>
  
  <p>but I am getting the following error:</p>
  
  <pre><code>Failed: mongorestore target 'dump' invalid: stat dump: no such file or directory
  </code></pre>
  
  <p>I can "ls" and see that the folder and that structure exists, and that the .bson files live within the leaf-level folder. I've run the same set of commands locally on my Windows machine, and all worked correctly. Is it possible it's some kind of permissions issue in Ubuntu? I've "sudo"-ed the command, but same issue.</p>
  
  <p>Thanks for any help you can provide!</p>