gopikrishhnaChokkalamani / spring-boot-docker

A simple example explaining how to run spring boot app inside a docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-boot-docker

A simple example explaining how to run spring boot app inside a docker

Build the Maven Project

Go to console to the project root file

run -> docker build . -t /spring-boot-docker.jar

run -> docker push /spring-boot-docker.jar

then, run -> docker run -p 8080:8080 spring-boot-docker.jar

access the app through http://localhost:8080/docker

About

A simple example explaining how to run spring boot app inside a docker

License:MIT License


Languages

Language:Java 100.0%