An open API service indexing awesome lists of open source software.

https://github.com/saravanan81java/spring-boot-dockerize

spring boot dockerize master
https://github.com/saravanan81java/spring-boot-dockerize

docker docker-compose docker-container java spring-boot

Last synced: 10 months ago
JSON representation

spring boot dockerize master

Awesome Lists containing this project

README

          

# spring-boot-dockerize
How to Dockerize Spring Boot Application

# Build Docker Image
$ docker build -t spring-boot-docker.jar .

# Check Docker Image
$ docker image ls

# Run Docker Image
$ docker run -p 9090:8080 spring-boot-docker.jar

In the run command, we have specified that the port 8080 on the container should be mapped to the port 9090 on the Host OS.