6 ms·
This looks to be like just language specific bindings over the docker compose syntax. You're right that docker compose handles all of the situations they descri
by codeonline 3y ago
This looks to be like just language specific bindings over the docker compose syntax. You're right that docker compose handles all of the situations they describe.
- mickael-kerjean 3y agoThe major issue I had with docker compose in my CI environment is flaky tests when a port is already used by another job I don't control. With testcontainers, I haven't seen any false positive as I can use whatever port is available and not a hardcoded one hoping it won't conflict with what other people are doing.
- Ajedi32 3y agoUnless I'm mistaken, this is only a problem if you're forwarding ports from the Docker containers to the host machine, which isn't necessary if the test itself is running from inside a Docker container on the same bridge network as your dependencies. (Which compose will set up for you by default.)