Skip to content

This Project demonstrates how to containerize the project using the Docker

Notifications You must be signed in to change notification settings

yash-k9/Spring-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Spring-Docker

This Project demonstrates how to containerize the java application using the Docker

Containerize the Application

  1. Create a Project
  2. Add a docker file with name "Dockerfile"
  3. Create image with base of your choice
  4. Build a docker image
  5. Run or Deploy the instances

Deploy the images to scale

DockerFile

Docker Commands

  • 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

About

This Project demonstrates how to containerize the project using the Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published