Daemon not found in Centos6

Hi, I pulled a Centos:6 image and install jdk and elastic search.
When I try to start the elasticsearch, I get a error:
/etc/init.d/elasticsearch: line 119: daemon: command not found

How can I install daemon?

That is the image:
docker pull danielbcjr/elastic_search_error:0.1

Hi,

You can start many ways instead of using init scripts ( i dont want to dig further ) … you can add CMD “<bin location of elasticsearch” in dockerfile , to get this working.