docker-ark-server
docker-ark-server copied to clipboard
docker restart of container does not gracefully stop the server
Hi,
I had the following issue: Some of my friends were playing on the server and after like 10 minutes I tested to restart the server using docker restart ark_server
(I installed the server using the docker run
command).
This somehow doesn't trigger a "graceful stop" of the server, because all items in the inventory of my friends were lost.
ARK-Server-Tools state that stopping/restarting the server gracefully would result in a worldsave. Manually saving the world via docker exec ark_server arkmanager worldsave
and restarting via docker restart ark_server
did indeed save the world.
Are there any options for docker restart
or the docker run
command which need to be added in order that docker restart
causes a graceful stop? Or can this somehow be added to the docker image to save the world in case the container restarts (server reboot/manual restart)?
Yikes.. I'm sorry that you and your friends lost your inventory.
I'll dig into this.
Hey @codegain I've released a new version of the image. Could you try with current latest
?
I experienced the same today, the docker container got updated by watchtower and my brother lost everything he build.