The following was discovered as part of building this project:
- The original package name 'com.techocrack.springboot-docker' is invalid and this project uses 'com.techocrack.springbootdocker' instead.
I this i have tried to dockerize the application so i have used io fabric8 for that i have added configuration in pom.xml file
#For Running This application
- springboot-docker> mvn install docker:build
- this will created the docker images and configuration of image is there in pom file.
- springboot-docker> docker run -p 8080:8080 -d image
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
The following guides illustrate how to use some features concretely: