Testcontainers
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
Install
dotnet add package Testcontainers --version 4.1.0
Install-Package Testcontainers -Version 4.1.0
<PackageReference Include="Testcontainers" Version="4.1.0" />
Frameworks
Dependencies
Adoption guide
Teams that need production-like dependency behavior in CI, including version pinning and reproducible startup contracts.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.
The published metadata declares 26 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.