This sample application in Docker demonstrates how to use Spring Session to transparently leverage Redis to back a web application’s HttpSession when using Spring Boot.
mvn package
mvn package docker:build
docker-compose up
Open the browser and access the application at http://localhost:8080/