Member-only story

How to run a local Elasticsearch using docker (in under 5 min)?

D
FAUN — Developer Community 🐾
4 min readJan 31, 2025
Photo by Michael Walter on Unsplash

Read this for free here.

Elasticsearch is a powerful database that supports a variety of full text search related use cases. Their speed is a definite plus to any application’s arsenal. In order to play around with elasticsearch, it is possible to set up a local instance of this database and start messing around with it if you follow the rest of this article.

There are a number of sub applications in the elasticsearch ecosystem. We will need 2 of them today. The first is the elasticsearch application and the second is kibana. The former is the actual database powering this whole experience while the second is a User Interface with various features including developer tools that will allow us to interact with the data more effectively. Enough yapping, let us get into the actual set up (take note that a more updated set-up is shown in the next section using Volumes instead of Links).

  1. Elasticsearch
  2. Kibana

First start an elasticsearch instance:

Simply start an instance with a mounted volume. Be sure to disable all ssl in localhost to allow http connections to be used (this is localhost after all).

docker run --name elasticsearch \
> -e…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in FAUN — Developer Community 🐾

We help developers learn and grow by keeping them up with what matters. 👉 www.faun.dev

Written by D

An aspiring Robotics Researcher. I am currently in my 4th year of undergraduate studies. I am working on optimising the ROS navigation packages. Follow 4 more!

No responses yet

What are your thoughts?