How does Unraid stop my Docker containers when I stop my Array?
First, a bit of background on the question. I have a Docker container `PlexTraktSync` and this container doesn't get stopped whenever I want to stop the Array. When I do a `docker stop PlexTraktSync` it works just fine, the container stops and the Array stops as well.
This is a big problem because a week ago I had a power outage on my server and my UPS should have stopped the Server, which it probably triggered but the server just stayed stuck waiting for all Docker containers to stop before killing everything and reporting that there was an "unclean shutdown".
I already tried to add the stop command in the User Scripts with the "At stopping of Array" execution trigger but this isn't executed before the containers are being shut down.
Which brings me to the question: How does Unraid specifically shut down the containers? It doesn't look like it is a simple "docker stop" or else the container would stop.