title: Docker Compose: Volume declared as external, but could not be found
body: <p>Running the external volume sample yml from docker-compose <a href="https://docs.docker.com/compose/compose-file/#external" rel="nofollow noreferrer">v3 docs</a> gives me the following error:</p>
  <pre><code>ERROR: Volume data declared as external, but could not be found. Please create the volume manually using `docker volume create --name=data` and try again.
  </code></pre>
  <p>This is the yml code:</p>
  <pre><code>version: '2'
  
  services:
    db:
      image: postgres
      volumes:
        - data:/var/lib/postgresql/data
  
  volumes:
    data:
      external: true
  </code></pre>
  <p>I`m running it on windows 10. Also tried to set the version to '3' but got the same error.</p>