/dockerfile-elasticsearch-k8s

Dockerfile for Elasticsearch

Primary LanguageShell

Supported tags and respective Dockerfile links

For more information Please look at the version specific README files with the dockerfiles.

What is Elasticsearch?

Elasticsearch is a search server based on Lucene. It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON documents.

Run the latest container with:

docker run -d -p 9200:9200 -p 9300:9300 stakater/elasticsearch

Advanced

Build an image: docker build -t stakater/elasticsearch .

Push an image: sudo docker push stakater/elasticsearch

Note you might have to login first before you can push the image to docker-hub sudo docker login

You can run the default elasticsearch command simply:

docker run -d -p 9200:9200 -p 9300:9300 stakater/elasticsearch

For more information Please look at the version specific README files with the dockerfiles.

Inspiration: https://hub.docker.com/_/elasticsearch/