title: Mapping a Volume in a docker
body: <p>I am trying to map a Volume to the docker image using -v "/Users//data:/data/"</p>
  
  <pre><code>&gt; docker run -p 27017:27017 --name mongo2_001 -d mongo -v "/Users/&lt;user&gt;/data:/data"
  6cf25618d...
  
  &gt; docker ps -a
  CONTAINER ID IMAGE     COMMAND                  STATUS PORTS NAMES
  6cf25618d..  mongo   "/usr/bin/mongod -v /"   Exited (1)                              mongoMG_001
  </code></pre>
  
  <p>It fails with the following error</p>
  
  <pre><code>&gt; docker logs 6cf25618d..
  2016-08-30T01:35:28.197+0000 F CONTROL  [main] Failed global
  initialization: BadValue: The "verbose" option string cannot
  contain any characters other than "v"
  </code></pre>
  
  <p>When ran with out "-v ..." seems to work properly.
  Not sure what could be wrong.</p>
  
  <p>PS: Dockerfile used to create the image used above</p>
  
  <pre><code>FROM       ubuntu:16.04
  MAINTAINER Docker
  RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
  RUN echo "deb http://repo.mongodb.org/apt/ubuntu $(cat /etc/lsb-release | grep DISTRIB_CODENAME | cut -d= -f2)/mongodb-org/3.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.2.list
  RUN apt-get update &amp;&amp; apt-get install -y mongodb-org
  RUN mkdir -p /data/db
  WORKDIR /data
  EXPOSE 27017
  ENTRYPOINT ["/usr/bin/mongod"]
  </code></pre>