title: Docker volume which is read-only on the host
body: <p>I know that i am able to specify a volume which is read-only on the container:</p>
  
  <pre><code>docker run -v /path/on/host:/path/on/container:ro my/image
  </code></pre>
  
  <p>But I need the opposite behavior: A folder that is read-write on the container and read-only on the host. Is that possible?</p>
  
  <p><em>Background: I want to tell my IDE the path of the python executable which is in a virtualenv in a docker container.</em></p>