The easiest component of our application to Dockerize is Elasticsearch. It is easy because we don't need to write our own Dockerfile – the Docker image for the most current versions of Elasticsearch are already provided by Elastic. We just need to download the image and run them in place of our local Elasticsearch installation.
Elastic provides three types of Elasticsearch images:
- elasticsearch (basic): Elasticsearch with X-Pack Basic features pre-installed and automatically activated with a free license
- elasticsearch-platinum: Elasticsearch with all X-Pack features pre-installed and activated using a 30-day trial license
- elasticsearch-oss: Only Elasticsearch
We won't be needing X-Pack, and so we will use ...