0% found this document useful (0 votes)
186 views

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
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
186 views

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
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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy