Creating a service that stops all still running containers before shutdown can prevent data loss and could be provided in the repo.