Deploy Spring Boot Petclinic Application + MYSQL Application to Docker
===========================================================================
docker run --name kumar-mysql -e MYSQL_ROOT_PASSWORD=kumar_password -e MYSQL_DATABASE=kumar_db -e MYSQL_USER=kumar_user -e MYSQL_PASSWORD=kumar_password -d mysql:latest --default-authentication-plugin=mysql_native_password
docker build . -t petclinic
docker run -d -p 9000:8080 --name petclinic-final-app --link kumar-mysql:mysql petclinic
docker logs container-name
Get: http://18.188.102.152:9000/petclinic
========================================================================