title: Mount a Host Directory as a Data Volume in docker?
body: <p>when i try to mount a host directory as data volume in docker its not mount any directory to docker container(image).
  When i run </p>
  
  <pre><code>sudo docker run -t -i --name web -v /home/rponna/src/webapp:/opt/webapp ramnathreddy
  </code></pre>
  
  <p>it returns container id </p>
  
  <pre><code>7dcc03c397d56514015220a073c9e951478bf84aceb90b880bb93a5716079212
  </code></pre>
  
  <p>But when i run that container it will not show any files in opt/webapp (its empty).</p>