The Way of Dockerize a Spring Boot and MySQL Application With Docker Compose.

You can get instruction about docker installation from https://docs.docker.com/desktop/install/windows-install/.I have downloaded docker desktop to my local pc and It is wrapped up docker with docker compose. So no need to install docker compose separately.

Overview

My sample application provide GET api for display list of person’s names. The sample data is fetching from MySql DB.

What is :

Docker : Docker is open source containerization platform used for building, packaging, and managing applications in an isolated environment.
Dockerfile : It is the place where we config the model of our docker container. By using dockerfile we can create docker image.
Docker Image: The blueprint for create docker contaiers.(According to oop concepts it is like a class)
Docker Container : It is runnable instance of image.(According to oop concepts it is like a object which is derived from class)
Docker Compose : Docker compose is a tool which helps us to easily handle multiple containers at once.

Read More

Tags: Compose Docker