[go: up one dir, main page]

0% found this document useful (0 votes)
209 views9 pages

Level-2 Springboot

An organization that recently transitioned to a microservices architecture is struggling with inconsistent deployments across their complex infrastructure. They have hired a consultant to containerize their Spring Boot microservices applications using Docker to simplify the deployment process. The consultant is tasked with creating a sample Spring Boot app, adding an HTML file, writing a Dockerfile to build a Docker image, pushing the image to Docker Hub, and running the containerized app on port 8089.

Uploaded by

Yaswanth Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
209 views9 pages

Level-2 Springboot

An organization that recently transitioned to a microservices architecture is struggling with inconsistent deployments across their complex infrastructure. They have hired a consultant to containerize their Spring Boot microservices applications using Docker to simplify the deployment process. The consultant is tasked with creating a sample Spring Boot app, adding an HTML file, writing a Dockerfile to build a Docker image, pushing the image to Docker Hub, and running the containerized app on port 8089.

Uploaded by

Yaswanth Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

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.

You might also like