The fact that docker environments were widely adopted for production shows how miserably we treat customers.
The inevitable loss of the hot cache during a container restart is a hardly solvable issue, and literally nobody cares to solve it. At best, people use some external storage for this cache which is inefficient, increases the application footprint, and makes zero sense in general.
But yay, we tend to ease our deploys, not the customer’s experience. Nah.