title: Docker - docker-compose 'version' doesn't have any configuration options
body: <p>I am newbie in the Docker world, I spent my holiday to learn this docker (however it is much harder than Vagrant).
  So I use Ubuntu 16.04, I installed successfully the docker and docker-compose.</p>
  
  <p>I read this tutorial: <a href="https://docs.docker.com/compose/rails/" rel="noreferrer">Quickstart: Docker Compose and Rail</a>s
  But this is not working... maybe the tutorial is not fine.</p>
  
  <p>I have this docker-compose.yml:</p>
  
  <pre><code>db:
      image: postgres
  web:
      build: .
      command: bundle exec rails s -p 3000 -b '0.0.0.0'
      volumes:
         - .:/www/html
      ports:
         - "3000:3000"
      depends_on:
         - db
  </code></pre>
  
  <p>I got this error always:</p>
  
  <pre><code>$ docker-compose run web rails new . --force --database=postgresql --skip-bundle
  ERROR: Validation failed in file './docker-compose.yml', reason(s):
  Unsupported config option for 'web' service: 'depends_on'
  </code></pre>
  
  <p>Mmmm, okay, I read a lot of google result, and it seems I am in a troube, because I use Ubuntu. Unfortunately the highest version number of docker in Ubuntu it is only 1.5.2. (I tried download the 1.7.1 with curl, but 1.5.2 installed automatically.)</p>
  
  <pre><code>$ docker version
  Client:
   Version:      1.11.1
   API version:  1.23
   Go version:   go1.5.4
   Git commit:   5604cbe
   Built:        Tue Apr 26 23:43:49 2016
   OS/Arch:      linux/amd64
  
  Server:
   Version:      1.11.1
   API version:  1.23
   Go version:   go1.5.4
   Git commit:   5604cbe
   Built:        Tue Apr 26 23:43:49 2016
   OS/Arch:      linux/amd64
  </code></pre>
  
  <p>Do you have any ideas, how can I run the rails based docker?
  I cannot install the docker machine, because I use ubuntu and the installation always will be failed.</p>
  
  <p>However my PHP docker-compose.yml is fine, because I can run it :slight_smile: But this rails tutorial is not good.</p>