I coulnd’t use “testImplementation(“org.testcontainers:testcontainers:2.0.2”)” because it’s not compatible with the version of postgress and rabbit I’m using.
So the solution was create the file docker-java.properties under my src/test/resources and set the version there.