Sign inSign up

anantha/spring-boot-minimal-web-app

By anantha

Updated about 4 years ago

Spring-Boot-Minimal-Web-App

Image
0

212

anantha/spring-boot-minimal-web-app repository overview

Quick reference

Quick reference (cont.)

What is Spring Boot Minimal Web App

This is a simple, self-contained Spring Boot Web Application with REST end point's and a HTML page (index.html) with minimal code for quick testing of deployment services and other purposes.

Usage

Docker Commands
Build Docker Image from Dockerfile

docker images
docker build -t spring-boot-minimal-web-app .
docker images

Run & Stop the Docker Image built from previous step

docker run -p 8080:8080 --name spring-boot-minimal-web-app spring-boot-minimal-web-app
docker ps
docker stop spring-boot-minimal-web-app docker ps -a

Docker Tag image with dockerhub username and push it to dockerhub

docker tag spring-boot-minimal-web-app anantha/spring-boot-minimal-web-app:latest
docker images
docker push anantha/spring-boot-minimal-web-app:latest

Remove Docker Image

docker images
docker image rm spring-boot-minimal-web-app
docker image rm -f spring-boot-minimal-web-app

Tag summary

Content type

Image

Digest

sha256:37067ecad

Size

120.7 MB

Last updated

about 4 years ago

docker pull anantha/spring-boot-minimal-web-app