This is a sample Hello World microservice built using Spring boot and Fabric8 Docker Maven plugin.
$ mvn clean package docker:build
$ docker run -p 80:8080 sample-boot --name sample-boot
$ curl -s -X GET localhost/hello/Walid
Hello Walid!
$ curl -s -X GET localhost/hello
Hello World!