Skip to main content
FOSSA Logo
Skip to package details

org.testcontainers:testcontainers

Maven8.8k GitHub stars

v2.0.5 · Apr 2026 · MIT (top-level declared license)

Install format
<dependency>
  <groupId>org.testcontainers</groupId>
  <artifactId>testcontainers</artifactId>
  <version>2.0.5</version>
</dependency>
implementation("org.testcontainers:testcontainers:2.0.5")
  • 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.

LicenseCategoryDependencies
Apache-2.0Permissive31 of 38
non-standardUnknown3 of 38
MITPermissive2 of 38
BSD-3-ClausePermissive1 of 38
LGPL-2.1-or-later AND Apache-2.0Weak copyleft1 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 free

Vulnerabilities

No known CVEs across published versions

Version history

Published versions
VersionPublishedLicense
2.0.5Apr 2026MIT
2.0.4Mar 2026
1.21.4Dec 2025
2.0.3Dec 2025
2.0.2Nov 2025
2.0.1Oct 2025
2.0.0Oct 2025
1.21.3Jun 2025
1.21.2Jun 2025
1.21.1May 2025
1.21.0Apr 2025
1.20.6Mar 2025
1.20.5Feb 2025
1.20.4Nov 2024
1.20.3Oct 2024
1.20.2Sep 2024
1.20.1Jul 2024
1.20.0Jul 2024
1.19.8May 2024
1.19.7Mar 2024
1.19.6Feb 2024
1.19.5Feb 2024
1.19.4Jan 2024
1.19.3Nov 2023
1.19.2Nov 2023
25 older releases
Older published versions
VersionPublishedLicense
1.19.1Oct 2023
1.19.0Aug 2023
1.18.3May 2023
1.18.2May 2023
1.18.1May 2023
1.18.0Apr 2023
1.17.6Nov 2022
1.17.5Oct 2022
1.17.4Sep 2022
1.17.3Jun 2022
1.17.2May 2022
1.17.1Apr 2022
1.17.0Apr 2022
1.16.3Jan 2022
1.16.2Oct 2021
1.16.1Oct 2021
1.16.0Jul 2021
1.15.3Apr 2021
1.15.2Feb 2021
1.15.1Dec 2020
1.15.0Nov 2020
1.14.3May 2020
1.14.2May 2020
1.14.1Apr 2020
1.14.0Apr 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.

Direct dependencies
PackageVersion rangeLicense
com.github.docker-java:docker-java-api3.7.1Apache-2.0
com.github.docker-java:docker-java-transport-zerodep3.7.1Apache-2.0
com.google.cloud.tools:jib-core0.28.1Apache-2.0
org.apache.commons:commons-compress1.28.0Apache-2.0
org.rnorth.duct-tape:duct-tape1.0.8MIT
org.slf4j:slf4j-api1.7.36MIT

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.

Dependency graph and package metadata from deps.dev (Google Open Source Insights), used under CC BY 4.0.

Repository stars from the GitHub API.

OpenSSF Scorecard results from deps.dev.

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.