title: Difference between VOLUME declaration in Dockerfile and -v as docker run parameter
body: <p>Could some one help me to understand the difference between:</p>
  
  <p><code>VOLUME</code> command in <code>Dockerfile</code> (image building layer)</p>
  
  <p>and</p>
  
  <p><code>-v</code> parameter when issuing <code>docker run</code><strong>-v</strong><code>/xyz/bla</code> command (container building layer).</p>
  
  <p><code>-v</code> parameter is for me clear, it simply exposes a directory from the host to the container and vice versa, but how does <code>VOLUME</code> in <code>Dockerfile</code> behave differently?</p>