Part 53 - Dockerize FleetMS (SpringBoot) With MySQL Database
This is Part 53 of our complete application in Spring Boot (FleetMS version 2). In this part, we would learn how to dockerize Spring Boot together with MySQL Database.
Step by Step procedure here -
Complete code on Github -
Parts of this tutorial:
00:05 - Introduction to Dockerize FleetMS_v2
02:50 - Pull MySQL Image from DockerHub
05:03 - Start MySQL Image Using docker run
08:03 - Access MySQL database inside the container
10:04 - Dockerize the Spring Boot application using Dockerfile
11:58 - Connect FleetMS to database inside the container
19:25 - Create docker image of the Spring Boot application usind docker build command
21:47 - Link up the two containers
23:35 - Debug port mapping error