Hi everyone I would like to know how to disable auto start elasticsearch i'm using ubuntu 18.04 and my elasticsearch is running on docker .. I should control my elasticsearch on docker manually not automatically whenever I try to boot or restart my server elasticsearch is up .
Please read the description of the options. I recommend to use the flag "no" when creating the container, so that the container never restarts. How do you create the container now? Can you please post the command?
I created this way long ago and my ES container is running up to now but I would like to disable auto start after the installation like this is there any method
You have the flag --restart set in your command. It has the value always, so it always restarts. You can use the docker update command to remove the restart flag. Take a look at the examples section there for using the correct syntax.
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.