This application shows how to put the spring application to a docker container.
Also there is a dmonstration of how to load balance of multiple docker instances.
HAProxy is used as load balancer. The Docker file is located under haproxy folder.
Step by step explanation of this project can be found at http://blog.bafoly.com/2016/10/spring-boot-with-docker/