automatically cleaning up docker containers is a wonder
Still too slow to spin up a new docker container for every single test, so easier to just manually dump all the data in your database between tests for a test suite
Could be used for local development so that you don’t have to maintain a docker compose + testcontainers setup BUT very finicky. It’s clear that it is not made for that intended purpose because you cannot hardcode the port that the container will run on
Mostly good only if you inject your client configuration at runtime because the ports are dynamically generated
https://testcontainers.com/