title: Wrong Compose file version
body: <p>I installed the Docker from: <a href="https://store.docker.com/editions/community/docker-ce-desktop-windows" rel="nofollow noreferrer">https://store.docker.com/editions/community/docker-ce-desktop-windows</a></p>
  
  <p>I downloaded some resource to run with docker and run <code>docker-compose up</code>.</p>
  
  <p>Unfortunately I see:</p>
  
  <pre><code>ERROR: Version in ".\docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version ("2.0", "2.1", "3.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
  For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
  </code></pre>
  
  <p>I checked the docker-compose version and I see:</p>
  
  <pre><code>&gt; docker-compose version
  docker-compose version 1.11.1, build 7afaa436
  docker-py version: 2.0.2
  CPython version: 2.7.13
  OpenSSL version: OpenSSL 1.0.2j  26 Sep 2016
  </code></pre>
  
  <p>I have no experience with Docker, but I suspect a version issue here. However I have no idea how to upgrade the docker-compose. Am I right? And how can I do it?</p>
  
  <p>Update:
  The <code>docker-compose.yml</code> begins like this</p>
  
  <pre><code>version: '3.4'
  
  services:
      php:
  </code></pre>