By shutting down a container directly there is a great risk of damaging the database and making the node unusable. Normally before shutting down the command is used:
docker stop -t 300 storagenode
Wouldn’t it be better to put an option in the dashboard to turn off the node and terminate the connection to the database safely and then tell you that you can already turn off the node?
I think it is best to prevent shutting down the node while writing information.