Launch elasticsearch dockerfile using my own elasticsearch.yml
- by Kevin
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.