not sure if this is a bug but it's interesting. you can see it in (in)action here https://github.com/spring-tips/development-containers-with-docker-compose-and-testcontainers