org.testcontainers:testcontainers
Maven8.8k GitHub starsv2.0.5 · Apr 2026 · MIT (top-level declared license)
- No known CVEs
- 1.2k known dependents
- ★ 8.8k
- 113 versions
Description
Show full descriptionShow less
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.
Licenses
Declared license
MIT (top-level declared license of org.testcontainers:testcontainers)
Transitive dependency licenses
This package's dependency tree includes LGPL-2.1-or-later, which may require you to publish changes to that component when you distribute.
| License | Category | Dependencies |
|---|---|---|
| Apache-2.0 | Permissive | 31 of 38 |
| non-standard | Unknown | 3 of 38 |
| MIT | Permissive | 2 of 38 |
| BSD-3-Clause | Permissive | 1 of 38 |
| LGPL-2.1-or-later AND Apache-2.0 | Weak copyleft | 1 of 38 |
This view is derived from declared package metadata, and a full FOSSA scan detects licenses that declared metadata misses. Scan free.
License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.
Need org.testcontainers:testcontainers approved? Get the full license and vulnerability report for your codebase. Scan free.
Scan freeVulnerabilities
No known CVEs across published versions
Version history
| Version | Published | License |
|---|---|---|
| 2.0.5 | Apr 2026 | MIT |
| 2.0.4 | Mar 2026 | |
| 1.21.4 | Dec 2025 | |
| 2.0.3 | Dec 2025 | |
| 2.0.2 | Nov 2025 | |
| 2.0.1 | Oct 2025 | |
| 2.0.0 | Oct 2025 | |
| 1.21.3 | Jun 2025 | |
| 1.21.2 | Jun 2025 | |
| 1.21.1 | May 2025 | |
| 1.21.0 | Apr 2025 | |
| 1.20.6 | Mar 2025 | |
| 1.20.5 | Feb 2025 | |
| 1.20.4 | Nov 2024 | |
| 1.20.3 | Oct 2024 | |
| 1.20.2 | Sep 2024 | |
| 1.20.1 | Jul 2024 | |
| 1.20.0 | Jul 2024 | |
| 1.19.8 | May 2024 | |
| 1.19.7 | Mar 2024 | |
| 1.19.6 | Feb 2024 | |
| 1.19.5 | Feb 2024 | |
| 1.19.4 | Jan 2024 | |
| 1.19.3 | Nov 2023 | |
| 1.19.2 | Nov 2023 |
25 older releases
| Version | Published | License |
|---|---|---|
| 1.19.1 | Oct 2023 | |
| 1.19.0 | Aug 2023 | |
| 1.18.3 | May 2023 | |
| 1.18.2 | May 2023 | |
| 1.18.1 | May 2023 | |
| 1.18.0 | Apr 2023 | |
| 1.17.6 | Nov 2022 | |
| 1.17.5 | Oct 2022 | |
| 1.17.4 | Sep 2022 | |
| 1.17.3 | Jun 2022 | |
| 1.17.2 | May 2022 | |
| 1.17.1 | Apr 2022 | |
| 1.17.0 | Apr 2022 | |
| 1.16.3 | Jan 2022 | |
| 1.16.2 | Oct 2021 | |
| 1.16.1 | Oct 2021 | |
| 1.16.0 | Jul 2021 | |
| 1.15.3 | Apr 2021 | |
| 1.15.2 | Feb 2021 | |
| 1.15.1 | Dec 2020 | |
| 1.15.0 | Nov 2020 | |
| 1.14.3 | May 2020 | |
| 1.14.2 | May 2020 | |
| 1.14.1 | Apr 2020 | |
| 1.14.0 | Apr 2020 |
Latest pre-release: 1.15.0-rc2 (Sep 2020). Pre-releases (canary, beta, release candidate and similar) are not listed.
Direct dependencies
6 direct dependencies, 38 in total including transitive. Licenses across the full tree are summarized under Licenses.
| Package | Version range | License |
|---|---|---|
| com.github.docker-java:docker-java-api | 3.7.1 | Apache-2.0 |
| com.github.docker-java:docker-java-transport-zerodep | 3.7.1 | Apache-2.0 |
| com.google.cloud.tools:jib-core | 0.28.1 | Apache-2.0 |
| org.apache.commons:commons-compress | 1.28.0 | Apache-2.0 |
| org.rnorth.duct-tape:duct-tape | 1.0.8 | MIT |
| org.slf4j:slf4j-api | 1.7.36 | MIT |
Based on what each package declares in its published metadata. The dependencies your build actually installs can differ, and a FOSSA scan of your project resolves the full tree.
Popularity
- Known dependents in this corpus
- 1,223
- GitHub stars
- 8.8k
- OpenSSF score
- 4.3 / 10
FAQ
- What is the latest version of org.testcontainers:testcontainers?
- The latest version of org.testcontainers:testcontainers is 2.0.5, published April 2026.
- What license is org.testcontainers:testcontainers under?
- org.testcontainers:testcontainers declares MIT as its top-level declared license. Its dependency tree spans 5 distinct licenses.
- Does org.testcontainers:testcontainers have known vulnerabilities?
- No known CVEs are recorded against published versions of org.testcontainers:testcontainers.
- How do I install org.testcontainers:testcontainers?
- Add org.testcontainers:testcontainers to your pom.xml as a dependency on org.testcontainers:testcontainers:2.0.5.
- How do I generate an SBOM that includes org.testcontainers:testcontainers?
- FOSSA's SBOM generator produces SPDX or CycloneDX output for a codebase that includes org.testcontainers:testcontainers. Generate an SPDX or CycloneDX SBOM free.