yash-k9 / Spring-Docker

This Project demonstrates how to containerize the project using the Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Java 96.7%Language:Dockerfile 3.3%