title: Docker maven fabric8 plugin (on Windows): building image gives incompatibility issues ?
body: <p>Via Maven I would like to build a Docker image from a Springboot project. 
  I run: mvn clean package docker:build 
  Issue: </p>
  
  <pre><code>ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.21.0:build (default-cli) on project spring-boot-docker: Execution default-cli of goal io.fabric8:docker-maven-plugin:0.21.0:build failed: An API incompatibility was encountered while executing io.
  fabric8:docker-maven-plugin:0.21.0:build: java.lang.UnsatisfiedLinkError: unknown
  [ERROR] -----------------------------------------------------
  [ERROR] realm =    plugin&gt;io.fabric8:docker-maven-plugin:0.21.0
  [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
  [ERROR] urls[0] = file:/C:/Users/Johan/.m2/repository/io/fabric8/docker-maven-plugin/0.21.0/docker-maven-plugin-0.21.0.jar
  Etc
  </code></pre>
  
  <p>The maven pom.xml file contains:  </p>
  
  <pre><code>&lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;java.version&gt;1.8&lt;/java.version&gt;
      &lt;docker.image.prefix&gt;springframeworkguru&lt;/docker.image.prefix&gt;
      &lt;docker.image.name&gt;springbootdocker&lt;/docker.image.name&gt;
      &lt;docker.host.url&gt;unix:///var/run/docker.sock&lt;/docker.host.url&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>The build plugin section contains: </p>
  
  <pre><code>&lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;io.fabric8&lt;/groupId&gt;
              &lt;artifactId&gt;docker-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;0.21.0&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;dockerHost&gt;${docker.host.url}&lt;/dockerHost&gt;
                  &lt;verbose&gt;true&lt;/verbose&gt;
                  &lt;images&gt;
                      &lt;image&gt;
                          &lt;name&gt;${docker.image.prefix}/${docker.image.name}&lt;/name&gt;
                          &lt;build&gt;
                              &lt;dockerFileDir&gt;${project.basedir}/src/main/docker/&lt;/dockerFileDir&gt;
                              &lt;assembly&gt;
                                  &lt;descriptorRef&gt;artifact&lt;/descriptorRef&gt;
                              &lt;/assembly&gt;
                              &lt;tags&gt;
                                  &lt;tag&gt;latest&lt;/tag&gt;
                                  &lt;tag&gt;${project.version}&lt;/tag&gt;
                              &lt;/tags&gt;
                          &lt;/build&gt;
                      &lt;/image&gt;
                  &lt;/images&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>As suggested, I removed my maven repository, which did not help. 
  Using other dockerHost values (like <a href="http://127.0.0.1:2375" rel="nofollow noreferrer">http://127.0.0.1:2375</a>) did not help. </p>
  
  <p>I really hope you can help!</p>