I have been struggling with this issue for a while now. I want to do a performance test using a specific set of data.
To achieve this i am using Docker-compose and i have exported a couple of .sql files.
When i first build and run the container using docker-compose build and docker-compose up the dataset is fine. Then i run my test (which also inserts) data. After running my test i want to perform it again, so i relaunch the container using Docker-compose up. But this time, for some reason i dont understand, the data that was inserted the last time (by my test) is still there. I get different behaviour now.
How can i make sure the dataset is exactly the same each time i launch the container?
Thanks in advance