Unfortunately, I cannot use docker-compose because we don't have a separate container just for an elasticsearch per application.
Our goal is to have an application and an elasticsearch installed in one container.
Do you have any idea how to locally build a cluster? I ran a custom image with elasticsearch in it by doing the following: sudo docker run -e -i -t -v /opt/dicts/spitz/latest:/opt/dicts/spitz/latest --net=host gsw/mimidae:latest and an image sudo docker run -p 5601:5601 -p 9201:9200 -p 5044:5044 -it -e LOGSTASH_START=0 -e KIBANA_START=0 --name elk sebp/elk
If I removed the option --net=host and replaced it with the options -p 9200:9200 -p 9300:9300, I'm unable to curl the container's port. Same issue with my elk container.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.