Combining Docker and Elasticsearch together will make many things in life easier. Depending on the scales, there are three scenarios for an implementation of Elasticsearch use case -
-
- Single ES instance and single machine
-
- Multiple ES instances and single machine
-
- Multiple ES instances and multiple machines
Docker has three mechanisms corresponding to each of the scenarios above.
-
- Docker commands
-
- Docker Compose