Spring Boot example with Docker Install git clone https://github.com/Slashgear/spring-example-docker Open Java IDE (IntelliJ, NetBeans, Eclipse) Build Use maven command: mvn package Or use maven plugin of your IDE for building project. Goal Create a Dockerfile for your spring application.