title: Docker maven plugin ClientProtocolException (Windows 10 using Docker Toolbox)
body: <p>I am trying to build a docker image using the docker-maven-plugin (provided by spotify: <a href="https://github.com/spotify/docker-maven-plugin" rel="noreferrer">https://github.com/spotify/docker-maven-plugin</a>) but things aren't really working out. At first I got this exception: </p>
  
  <pre><code>org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375
  </code></pre>
  
  <p>I found out that I had to create an env. variable to fix this (<a href="https://github.com/spotify/docker-maven-plugin/issues/135" rel="noreferrer">https://github.com/spotify/docker-maven-plugin/issues/135</a>): </p>
  
  <pre><code>set DOCKER_HOST=set DOCKER_HOST=tcp://192.168.99.100:2376
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Wp6IQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Wp6IQ.png" alt="docker_host"></a></p>
  
  <p>So after setting that env. variable I keep getting this ClientProtocolException:</p>
  
  <pre><code>[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.3.258:build (default-cli) on project docker_micro_maven: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.client.ClientProtocolException: The server failed to respond with a valid HTTP response
  </code></pre>
  
  <p>I have no idea how I could fix this, any input would be greatly appreciated. </p>