title: python docker how to mount the directory from host to container
body: <p>can someone please share some examples of py apis showing how to mount the directories ? 
  I tried like this but I dont see its working</p>
  
  <pre><code>dockerClient = docker.from_env()
  dockerClient.containers.run('image', 'ls -ltr', volumes={os.getcwd(): {'bind': '/tmp/', 'mode': 'rw'}})
  </code></pre>