How to Dockerize a simple Java service


Quick overview of how to Dockerize a very simple Java REST API service. I will use the resulting project in the next videos on Kubernetes, to exemplify how to use the different features of Kubernetes and more specifically how to deploy and configure an application in a Kubernetes cluster.

Useful links:
- The cool-service Git repo where the sources of this simple service are:
- The Dropwizard homepage:
- The documentation of the dropwizard-example project that I used as a base for the cool-service (almost identical):
- The location of the cool-service image on Docker Hub:
- Documentation on multi-stage builds: