title: Docker compose v3: The difference between volume type mount and bind
body: <p>I am using <code>docker-compose</code> syntax version 3 and want to use some volumes. The <a href="https://docs.docker.com/compose/compose-file/#long-syntax-2" rel="noreferrer">documentation</a> on the long syntax for volumes states the following:</p>
  
  <blockquote>
    <p><code>type</code>: the mount type <code>volume</code> or <code>bind</code></p>
  </blockquote>
  
  <p>but never fully explains the difference. What is it?</p>