title: docker-compose: client version is too new
body: <p>When executing <code>DOCKER_API_VERSION=1.35 docker-compose --verbose up</code> I'm getting:</p>
  
  <blockquote>
    <p>-d compose.config.config.find: Using configuration files: ./docker-compose.yml docker.utils.config.find_config_file: Trying
    paths: ['/home/vivo/.docker/config.json', '/home/vivo/.dockercfg']
    docker.utils.config.find_config_file: No config file found
    docker.utils.config.find_config_file: Trying paths:
    ['/home/vivo/.docker/config.json', '/home/vivo/.dockercfg']
    docker.utils.config.find_config_file: No config file found
    urllib3.connectionpool._make_request: <a href="http://localhost:None" rel="nofollow noreferrer">http://localhost:None</a> "GET
    /v2.25/version HTTP/1.1" 400 84 Traceback (most recent call last):<br>
    File "site-packages/docker/api/client.py", line 261, in
    _raise_for_status   File "site-packages/requests/models.py", line 940, in raise_for_status requests.exceptions.HTTPError: 400 Client Error:
    Bad Request for url: http+docker://localhost/v2.25/version</p>
    
    <p>During handling of the above exception, another exception occurred:</p>
    
    <p>Traceback (most recent call last):   File "bin/docker-compose", line
    6, in    File "compose/cli/main.py", line 71, in main   File
    j</p>
    
    <p>"compose/cli/main.py", line 124, in perform_command   File
    "compose/cli/command.py", line 42, in project_from_options   File
    "compose/cli/command.py", line 123, in get_project   File
    "compose/cli/command.py", line 97, in get_client   File
    "site-packages/docker/api/daemon.py", line 181, in version   File
    "site-packages/docker/api/client.py", line 267, in _result   File
    "site-packages/docker/api/client.py", line 263, in _raise_for_status<br>
    File "site-packages/docker/errors.py", line 31, in
    create_api_error_from_http_exception docker.errors.APIError: 400
    Client Error: Bad Request ("client version 2.25 is too new. Maximum
    supported API version is 1.38")</p>
  </blockquote>
  
  <p>My docker version:</p>
  
  <blockquote>
    <p>docker-tutorial % docker version Client:  Version:<br>
    18.06.3-ce  API version:       1.27  Go version:        go1.10.3  Git commit:        d7080c1  Built:             Wed Feb 20 02:27:13 2019 
    OS/Arch:           linux/amd64  Experimental:      false</p>
    
    <p>Server:  Engine:   Version:          18.06.3-ce   API version:<br>
    1.38 (minimum version 1.12)   Go version:       go1.10.3   Git commit:       d7080c1   Built:            Wed Feb 20 02:25:38 2019   OS/Arch:<br>
    linux/amd64   Experimental:     false</p>
  </blockquote>
  
  <p>My docker-compose version:</p>
  
  <blockquote>
    <p>docker-tutorial % docker-compose version docker-compose version
    1.24.1, build 4667896b docker-py version: 3.7.3 CPython version: 3.6.8 OpenSSL version: OpenSSL 1.1.0j  20 Nov 2018</p>
  </blockquote>
  
  <p>And my docker-compose.yml:</p>
  
  <pre><code>version: '2.3'
  
  services:
      app:
          image: php:7.2-apache
          volumes:
              - .:/var/www/html
          ports:
              - 8000:80
  </code></pre>