What is safe way to stop mysql docker container?
looks safe, from the docs:
The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL.
so if the main process is mysqld, it will have a decent chance to flush everything.