1
我遇到了一些在基于debian的容器上运行elasticsearch的问题,结合了not being able to find log files和not being able to run as root。但即使symlinking的配置文件不适合我。我能够让它运行,并认为它可能对某人有帮助。如何使用supervisor在docker容器上运行elasticsearch?
我安装elasticsearch用这个命令:
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | apt-key add - \
&& echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list \
&& apt-get update \
&& apt-get install -y elasticsearch \
&& update-rc.d elasticsearch defaults 95 10