This tutorial shows how to deploy a java war file in docker using Tomcat and eclipse.
Steps:
1. Create a java web application
2. Create a ant build.xml to generate war file
3. Add war build target in build.xml
4. Create Dockerfile using Tomcat base image
5. Build docker image
6. Run the newly generated docker images
Refer project Github: https://github.com/avetichamp/javatut...
Facebook: / aveti.tutorial.9
Hope you liked the tutorial .Please subscribe to this channel.