Skip to content

This project will demonstrate how to deploy the WAR file in a docker container.

Notifications You must be signed in to change notification settings

pateluday07/docker-war-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-war-demo

This project will demonstrate how to deploy the WAR file in a docker container.

Prerequisites

  • Docker

Take reference to my Dockerfile and similarly prepare yours the Dockerfile is available in the /docker-war-demo directory.

I have already prepared an image for this demo project, so to run that image execute the following command in the terminal:

docker run -p 8080:8080 uday07/docker-war-demo

Once you execute the above command the WAR file will be run inside the Tomcat, and the Tomcat is running in the Docker container, Now you can interact with the WAR file by using the following test APIs:

Thank You :)

About

This project will demonstrate how to deploy the WAR file in a docker container.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published