Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
Install
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
Testcontainers
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. The library is built on top of the .NET Docker remote API and provides a lightweight implementation to support your test environment in all circumstances.

Read the documentation here
License
See LICENSE.
Copyright
Copyright (c) 2019 - 2024 Andre Hofmeister and other authors.
See contributors for all contributors.
Join our Slack workspace | Testcontainers OSS | Testcontainers Cloud
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.