Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
Total Downloads
158.8M
158,846,192
Published
Nov 16, 2026
9d ago
Get Started
dotnet add package Testcontainers --version 4.17.0
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
Downloads by Version
Similar & Alternative Packages
Hand-picked matching NuGet libraries based on tags & ecosystem
Depended On By
Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.
Adoption Assessment
Teams that need production-like dependency behavior in CI, including version pinning and reproducible startup contracts.
Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.The published metadata declares 31 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Editorial Note: Provision disposable Docker-based dependencies (databases, brokers, caches) directly from tests. Trade-off: Container startup overhead and host prerequisites require thoughtful fixture reuse and pipeline tuning.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.