testcontainers-java
https://github.com/testcontainers/testcontainers-java
Java
Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Java not yet supported2 Subscribers
Add a CodeTriage badge to testcontainers-java
Help out
- Issues
- [Feature]: detect WSL Containers (wslc) as a Docker environment on Windows
- feat(core): detect WSL Containers (wslc) as a Docker environment
- fix: lazy debug logging for GenericContainer
- [Bug]: `withReuse(true)` has a check-then-act race: concurrent starts with the same config create duplicate containers
- Fix check-then-act race in container reuse (`withReuse(true)`)
- [Bug]: PostgreSQLContainer skips the JDBC readiness gate, leaving host-side port reachability unverified
- test: cover HttpWaitStrategy response predicate retries
- Add BrowserWebDriverContainer#restartVncRecording() for per-test recordings
- [Bug]: com.github.docker-java:docker-java-transport-zerodep pulls in apache httpcomponents which was tagged in CVE-2026-54428
- feat(config): support docker.socket.override in properties file
- Docs
- Java not yet supported