I\'m using spring boot and am trying to set it up with Docker. I\'ve tried everything I could find on google and nothing seems to get me going. I\'
fixed this in windows 10 by:
com.spotify
docker-maven-plugin
0.4.13
yourImageName
src/main/docker
https://192.168.99.100:2376
/Users/your_user/.docker/machine/machines/default
/
${project.build.directory}
${project.build.finalName}.jar
Important are these two tags:
https://192.168.99.100:2376
/Users/your_user/.docker/machine/machines/default
I am using a dockerfile, which path you have to define with this tag:
src/main/docker
Now you can build your jar and generate docker image via:
mvn package docker:build
I think on mac just follwing value has to be different:
/Users/your_user/.docker/machine/machines/default