Sitemap

Elasticsearch with Docker Container

Aug 17, 2024

--

Hey Folks, here we are going to run elastic search in a docker container on port 9200.

If haven’t installed Docker in your machine ,please install it https://docs.docker.com/engine/install/

Get Sachinwuds’s stories in your inbox

Join Medium for free to get updates from this writer.

after installation run the followng commant to run Elasticsearch in a container

docker run -d \
--name elasticsearch \
-e "discovery.type=single-node" \
-e "xpack.security.enabled=false" \
-p 9200:9200 \
-p 9300:9300 \
docker.elastic.co/elasticsearch/elasticsearch:8.10.1

To check every this is fine ,open browser and go to

http://127.0.0.1:9200/

And the how you can run elasticsearch.
Thanks for reading.

--

--

Sachinwuds
Sachinwuds

Written by Sachinwuds

Experienced Cloud Architect & Python Developer with 5+ years in Python, Django, AWS, and Azure. Passionate about MLOps and data science. LinkedIn