title: Client sent an HTTP request to an HTTPS server. Docker-Compose with Docker-Machine
body: <p>I'm trying to run docker-compose on DigitalOcean droplet using docker-machine.</p>
  <ol>
  <li>I've created a dropled and used docker-machine create to hook it up to the docker-machine.</li>
  <li>I can connect via docker-machine ssh my-machine</li>
  <li>I use eval $(docker-machine env wdf-rails) to run docker commands in the proper context</li>
  <li><code>docker ps</code> does not return error, but <code>docker-compose ps</code> returns the error:</li>
  </ol>
  <p><code>ERROR: Client sent an HTTP request to an HTTPS server.</code></p>
  <p>I've been using this setup for years and I've never experienced this issue before.</p>
  <p>Notes:</p>
  <p>It doesn't matter what configuration you have in the <code>docker-compose.yml</code>. Fails even for such a minimal config as listed below:</p>
  <pre><code>version: &quot;3.7&quot;
  
  services:
    redis:
      image: &quot;redis:alpine&quot;
  
  </code></pre>