I had this same problem. Additionally I wanted an interactive way of running my test quite continuously during development...
I created an open source script to solve both use-cases:
Feedback welcome :)
To run it inside of docker you'll need 'docker in docker', I believe.