title: Docker Compose - bind source path does not exist
body: <p>In my docker compose service I have the following:</p>
  <pre><code>volumes:
        - ~/DockerStuff/Projects:/root/Documents/Projects
        - ~/DockerStuff/Downloads:/root/Downloads
  </code></pre>
  <p>But when I run <code>docker compose</code> up I'm being told:
  <code>Error response from daemon: invalid mount config for type &quot;bind&quot;: bind source path does not exist</code></p>
  <p>I keep seeing things saying that you can create bind volumes and if the host directory doesn't exist, Docker shall create it on the fly.  But these seem specific to DockerFile setups rather than compose files.</p>
  <p>Is such functionality possible in docker compose too? :)</p>