title: Docker "/bin/bash" could not be invoked when mounting an NFS file with -v on openstack
body: <p>I'm running an <code>Ubuntu 14.04</code> instance that has docker installed on openstack. I'm trying to mount a volume into a docker container. I'm doing this with</p>
  
  <pre><code>docker run -t -i -v /mnt/data/dir:/mnt/test ubuntu
  </code></pre>
  
  <p>Where <code>/mnt/data/dir</code> is an NFS shared directory. Doing this gets me:</p>
  
  <blockquote>
    <p>docker: 
            Error response from daemon: Container command '/bin/bash' could not be invoked..</p>
  </blockquote>
  
  <p>However, using a local directory instead of a mounted directory works exactly as expected.</p>
  
  <p>I understand that docker doesn't natively support an NFS mounted file system, however the errors I googled are usually not of the form that I've mentioned above. </p>
  
  <p>Any clue on how to proceed</p>
  
  <p><strong>Edit</strong>: I forgot to mention that its not just limited to <code>/bin/bash</code> could not be invoked. I tried running a tomcat server and that gave me the exact same error.</p>