Skip to content

A demonstration of a very simple Spring Boot application running as a dockerized application.

Notifications You must be signed in to change notification settings

anokun7/docker-springframework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-springframework

Pre-requisite:

  • Install Docker for Mac or Docker for Windows
  • Make sure Docker is running
$ docker build -t test .
$ docker run -p 8080:8080 test
$ for i in {0..9}; do curl -s localhost:8080 ; echo "" ; sleep 1 ; done

To run in swarm mode:

$ docker swarm init
$ docker build anoop/spring-boot-demo:latest .
$ docker push anoop/spring-boot-demo:latest
$ docker stack deploy -c stack.yml
$ for i in {0..9}; do curl -s localhost:8080 ; echo "" ; sleep 1 ; done

About

A demonstration of a very simple Spring Boot application running as a dockerized application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published