The Docker Compose docs state that you can wait for a container started by docker compose to come up by calling an overloaded withExposedService passing it a WaitStrategy.
This method doesn't exist - whether because it has been removed or the docs are for a not yet released version.
@Mahoney actually, the docs are from the future :D We just added this functionality and it is to-be-released soon, but since the docs were changed as part of the PR ( #600 ) you already see it on our website.
@rnorth we should think how to keep docs aligned with the latest release.
Thanks @Mahoney for letting us know 馃憤
@Mahoney FYI you can use JitPack to try this feature. See how to do it here:
https://www.testcontainers.org/usage.html#maven-dependencies
@bsideup Versioning of the docs seems like a good idea, we might be able to use this Gitbook plugin:
https://plugins.gitbook.com/plugin/versions
@kiview true. Just maybe we need to cleanup the tags first:
https://api.gitbook.com/book/testcontainers/testcontainers/versions/tags
released as part of 1.7.0