使用私有 docker 镜像仓库
统一Manven 版本依赖 parent org.springframework.boot spring-boot-maven-plugin com.spotify docker-maven-plugin docker-hub https://10.10.6.50:5000 https://10.10.12.205:2376 C:\Users\admin\.docker\machine\machines\manager 10.10.6.50:5000/${docker.imageName}:${project.version} java:8 ${docker.maintainer} /tmp ["java", "-jar", "/${project.build.finalName}.jar"] / ${project.build.directory} ${project.build.finalName}.jar
maven setting.xml文件配置
// email 也是必须填写的 docker-hub foo secret-password foo@foo.bar