title: docker repository name component must match
body: <p>I am trying to build my image using this plugin: <a href="https://github.com/spotify/docker-maven-plugin#use-a-dockerfile">https://github.com/spotify/docker-maven-plugin#use-a-dockerfile</a></p>
  
  <p>When I run <code>mvn clean package docker:build</code></p>
  
  <p>I get this error:</p>
  
  <pre><code>[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.2.3:build (defa
  ult-cli) on project demo: Exception caught: Request error: POST https://192.168.
  99.100:2376/v1.12/build?t=DevOpsClient: 500: HTTP 500 Internal Server Error -&gt; [
  Help 1]
  </code></pre>
  
  <p>When I check the docker daemon logs, I see this:</p>
  
  <pre><code>Handler for POST /build returned error: repository name component must match \"[a-z0-9]+(?:[._-][a-z0-9]+)*\"" statusCode=500
  </code></pre>
  
  <p>Here is the doc for the naming convention: <a href="https://docs.docker.com/registry/spec/api/">https://docs.docker.com/registry/spec/api/</a></p>
  
  <p>Apparently you cannot have any upper case letters.</p>
  
  <p>I am trying to build using Spring boot my following this guide: <a href="https://spring.io/guides/gs/spring-boot-docker/">https://spring.io/guides/gs/spring-boot-docker/</a></p>
  
  <p>I am using a SNAPSHOT release of spring boot and I have a directory named demo-0.1.1-SNAPSHOT. I believe this may be causing the problem.</p>
  
  <p>Also I am working on windows and my project directory path is like:</p>
  
  <pre><code>C:\Users\myname\UserRegistrationClient\git\..... etc
  </code></pre>
  
  <p>Would this also affect the repository naming convention?</p>
  
  <p>And how would I change it? </p>