title: how to make docker client connect to docker daemon over http
body: <p>I've got a host running docker daemon with those options:</p>
  
  <pre><code>dockerd -H tcp://0.0.0.0:2376 ...
  </code></pre>
  
  <p>From a remote host I want to connect to the docker API of this instance with docker-machine but I always get the following message:</p>
  
  <pre><code>http: server gave HTTP response to HTTPS client
  </code></pre>
  
  <p>My host is well responding over http:</p>
  
  <pre><code>root$ curl -v  http://10.228.38.30:2376/v1.15/version
  * Hostname was NOT found in DNS cache
  *   Trying 10.228.38.30...
  * Connected to 10.228.38.30 (10.228.38.30) port 2376 (#0)
  &gt; GET /v1.15/version HTTP/1.1
  &gt; User-Agent: curl/7.38.0
  &gt; Host: 10.228.38.30:2376
  &gt; Accept: */*
  &gt; 
  &lt; HTTP/1.1 200 OK
  &lt; Content-Type: application/json
  * Server Docker/1.12.3 (linux) is not blacklisted
  &lt; Server: Docker/1.12.3 (linux)
  &lt; Date: Wed, 14 Dec 2016 12:25:45 GMT
  &lt; Content-Length: 196
  &lt; 
  {"Version":"1.12.3","ApiVersion":"1.24","GitCommit":"6b644ec","GoVersion":"go1.6.3","Os":"linux","Arch":"amd64","KernelVersion":"3.16.0-4-amd64","BuildTime":"2016-10-26T21:39:14.007365648+00:00"}
  * Connection #0 to host 10.228.38.30 left intact
  </code></pre>
  
  <p>How to tell docker client (ie docker-machine here) to talk with the daemon over http and not https ?</p>
  
  <p>I don't need https because I'm on a test environment.</p>