This repository has been archived by the owner on Jan 18, 2021. It is now read-only.
docker doesnt properly shutdown server - possible world corruption #121
Labels
information
not a bug, just gives information
When using the commands
docker stop <containerid>
ordocker restart <containerid>
, docker fails to gracefully stop the server and thus invites corruption of the world files.You can check this yourself by not auto-removing the container when it stops ( no
--rm
in your docker start script).Then stop the server with
docker stop <containerid>
Then type:
docker inspect -f '{{.State.ExitCode}}' <containerid>
It will return: 137
The text was updated successfully, but these errors were encountered: