Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

tutum-docker-elasticsearch

Simple docker image to run an Elasticsearch server

Usage

To create the image tutum/elasticsearch, execute the following command on tutum-docker-influxdb folder:

docker build -t tutum/elasticsearch .

You can also pull the image from the registry:

docker pull tutum/elasticsearch

Running elasticsearch

Start your image binding the external ports 9200 to your container:

docker run -d -p 9200:9200 tutum/elasticsearch

Now you can connect to Elasticsearch by:

curl 127.0.0.1:9200

Running elasticsearch with HTTP basic authentication

Use environment variables ELASTICSEARCH_USER and ELASTICSEARCH_PASS to specify the username and password and activated HTTP basic authentication (HTTP basic auth is disabled by default):

docker run -d -p 9200:9200 -e ELASTICSEARCH_USER=admin -e ELASTICSEARCH_PASS=mypass tutum/elasticsearch

Now you can connect to Elasticsearch by:

curl admin:mypass@127.0.0.1:9200
Docker Pull Command
Owner
idosh

Comments (0)