Closed Nikdro closed 8 years ago
What's about this Commit ?
As you can see I have removed the start script so it runs as a daemon instead. Supervisord will take care of the automatic restart and also the world data is now flushed to disk when you issues a docker stop command.
Isn't it better to stop the container, when the JAR-File crashes? Otherwise we are running a useless container with a bash.
By using "docker run --restart always [...]" in combination with this commit it will restart automatically
You can get a bash inside the Container by using docker exec -it bash CONTAINERNAME