Launch elasticsearch dockerfile using my own elasticsearch.yml

Posted by Kevin on Server Fault See other posts from Server Fault or by Kevin
Published on 2013-11-09T20:34:54Z Indexed on 2013/11/09 21:56 UTC
Read the original article Hit count: 334

Filed under:

I am launching elasticsearch via a dockerfile found here:

https://index.docker.io/u/ehazlett/elasticsearch/

It works great. I need to define my own hosts as my environment does not support multicast of any kind.

I understand that my options are:

1) supply hosts when elasticsearch is run as a command line parameter

2) modify my elasticsearch.yml file to set the hosts.

I know how to build the yml, what I need to know is how to launch elasticsearch via docker using my own yml instead of the one in the container. Is that possible?

Thanks.

© Server Fault or respective owner

Related posts about elastic-search