C-D-theory

Containerization Class – 28 January

Task: Build Java Application Using Dockerfile


Objective

To build and run a Java application using a Dockerfile.


Description

In this task, a Dockerfile was created to build a Java application image. The image was then executed to run the Java program inside a container.

This experiment helped in understanding how Docker can be used to automate application building and deployment.


Steps Performed


Output Screenshots

Screenshot 1: Docker Build Process

Docker Build


Screenshot 2: Running Java Application

Java Run


Observation


Conclusion

The Java application was successfully built and executed using Dockerfile.

This experiment improved understanding of image creation, container execution, and application deployment using Docker.