/elasticsearch-docker

Docker file for Elasticsearch

Primary LanguagePerl

Elasticsearch Dockerfile

This repository contains Dockerfile of Elasticsearch.

Base Docker Image

Build

docker build --tag anktksh/elasticsearch .

Usage

docker run -p 9200:9200 -ti -v <data-dir>:/usr/share/elasticsearch/data --oom-kill-disable -m 4g anktksh/elasticsearch

After few seconds, open http://<host>:9200 to see the result.