This Project demonstrates how to containerize the java application using the Docker
- Create a Project
- Add a docker file with name "Dockerfile"
- Create image with base of your choice
- Build a docker image
- Run or Deploy the instances
Deploy the images to scale
- To build image
- docker build -f Dockerfile -t tag image-name .
- To run image
- docker run -p localport : containerport -name container-name image-name
- To stop
- docker stop container-name