Public Repository

Last pushed: 2 years ago
Short Description
Spring Boot simple application running inside a Docker container
Full Description

Application in Spring Boot with one REST endpoint:

GET /hello/{name}

will return:

{"msg": "Hello 'name'"}, where 'name' is the path variable passed in the URL

This example uses Spotify's Maven plugin for Docker. It is very useful, because you can build artifact and Docker image all with one single command. Do mvn package to buld, not docker build. Maven will be not installed in docker image and it is not possible to generate the JAR file.

Exposed port: 9123

To see the source code, go to

Docker Pull Command