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?
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.