DevOps Certification Training
Docker Assignment – 3
Containerizing Spring boot Application
www.staragile.com
An organization XYZ Private Limited has recently transformed their IT application from
Monolithic to Microservice Architecture. Now they have been struggling with deployment in
such a complex infrastructure and inconsistency across the system. The organization has hired
you to help them with simplifying their deployment process by containerizing their
applications. They are using spring boot to develop their microservices.
You are requested to do following tasks :
1. Create and download a Spring Boot application with Spring initializr.
2. Import the application into Eclipse.
3. Add an index.html to the main/resources/static folder.
4. Run and verify the application.
5. Write a Dockerfile to containerize the application
6. Build the docker image.
7. Push the docker image to Docker Hub
8. Run on application as container in detached mode and on system port 8089.
www.staragile.com
1 Create and download a Spring Boot application with Spring initializr.
2 Import the application into Eclipse.
3 Add an index.html to the main/resources/static folder.
4 Run and verify the application
5 Write a Dockerfile to containerize the application
6 Build the docker image.
7 Push the docker image to Docker Hub
8 Run on application as container in detached mode and on system port 8089.