Testcontainers 4.15.0
Prefix Reserveddotnet add package Testcontainers --version 4.15.0
NuGet\Install-Package Testcontainers -Version 4.15.0
<PackageReference Include="Testcontainers" Version="4.15.0" />
<PackageVersion Include="Testcontainers" Version="4.15.0" />
<PackageReference Include="Testcontainers" />
paket add Testcontainers --version 4.15.0
#r "nuget: Testcontainers, 4.15.0"
#:package Testcontainers@4.15.0
#addin nuget:?package=Testcontainers&version=4.15.0
#tool nuget:?package=Testcontainers&version=4.15.0
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 - 2026 Andre Hofmeister and other authors.
See contributors for all contributors.
Join our Slack Workspace | Testcontainers OSS | Testcontainers Cloud
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- BouncyCastle.Cryptography (>= 2.7.0)
- Docker.DotNet.Enhanced (>= 4.3.3)
- Docker.DotNet.Enhanced.X509 (>= 4.3.3)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- Microsoft.Bcl.HashCode (>= 1.1.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- SharpZipLib (>= 1.4.2)
- SSH.NET (>= 2026.0.0)
-
.NETStandard 2.1
- BouncyCastle.Cryptography (>= 2.7.0)
- Docker.DotNet.Enhanced (>= 4.3.3)
- Docker.DotNet.Enhanced.X509 (>= 4.3.3)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- Microsoft.Bcl.HashCode (>= 1.1.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- SharpZipLib (>= 1.4.2)
- SSH.NET (>= 2026.0.0)
-
net10.0
- Docker.DotNet.Enhanced (>= 4.3.3)
- Docker.DotNet.Enhanced.X509 (>= 4.3.3)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- SharpZipLib (>= 1.4.2)
- SSH.NET (>= 2026.0.0)
-
net8.0
- Docker.DotNet.Enhanced (>= 4.3.3)
- Docker.DotNet.Enhanced.X509 (>= 4.3.3)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- SharpZipLib (>= 1.4.2)
- SSH.NET (>= 2026.0.0)
-
net9.0
- Docker.DotNet.Enhanced (>= 4.3.3)
- Docker.DotNet.Enhanced.X509 (>= 4.3.3)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- SharpZipLib (>= 1.4.2)
- SSH.NET (>= 2026.0.0)
NuGet packages (202)
Showing the top 5 NuGet packages that depend on Testcontainers:
| Package | Downloads |
|---|---|
|
Testcontainers.PostgreSql
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. |
|
|
Testcontainers.MsSql
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. |
|
|
Testcontainers.Redis
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. |
|
|
Testcontainers.Azurite
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. |
|
|
Testcontainers.MongoDb
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. |
GitHub repositories (98)
Showing the top 20 popular GitHub repositories that depend on Testcontainers:
| Repository | Stars |
|---|---|
|
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
|
|
|
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
|
|
|
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
|
|
|
duplicati/duplicati
Store securely encrypted backups in the cloud!
|
|
|
dotnet/orleans
Cloud Native application framework for .NET
|
|
|
microsoft/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
|
|
|
kurrent-io/KurrentDB
KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.
|
|
|
ChilliCream/graphql-platform
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.
|
|
|
Cysharp/MagicOnion
Unified Realtime/API framework for .NET platform and Unity.
|
|
|
sshnet/SSH.NET
SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
|
|
|
Xabaril/AspNetCore.Diagnostics.HealthChecks
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
|
|
|
open-telemetry/opentelemetry-dotnet
The OpenTelemetry .NET Client
|
|
|
evolutionary-architecture/evolutionary-architecture-by-example
Navigate the complex landscape of .NET software architecture with our step-by-step, story-like guide. Unpack the interplay between modular monoliths, microservices, domain-driven design, and various architectural patterns. Go beyond the one-size-fits-all solutions and understand how to blend these approaches based on your unique needs.
|
|
|
fluentmigrator/fluentmigrator
Fluent migrations framework for .NET
|
|
|
robinrodricks/FluentFTP
An FTP and FTPS client for .NET & .NET Standard, optimized for speed. Provides extensive FTP commands, File uploads/downloads, SSL/TLS connections, Automatic directory listing parsing, File hashing/checksums, File permissions/CHMOD, FTP proxies, FXP support, UTF-8 support, Async/await support, Powershell support and more. Written entirely in C#.
|
|
|
eventflow/EventFlow
Async/await first CQRS+ES and DDD framework for .NET
|
|
|
JasperFx/wolverine
Supercharged .NET server side development!
|
|
|
recyclarr/recyclarr
Automatically sync TRaSH Guides to your Sonarr and Radarr instances
|
|
|
asynkron/protoactor-dotnet
Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
|
|
|
CoreWCF/CoreWCF
Main repository for the Core WCF project
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.15.0 | 326,281 | 2026/9/6 |
| 4.14.0 | 2,815,672 | 2026/8/14 |
| 4.13.0 | 4,790,724 | 2026/7/2 |
| 4.12.0 | 5,064,726 | 2026/5/19 |
| 4.11.0 | 7,804,093 | 2026/3/12 |
| 4.10.0 | 7,837,232 | 2026/1/1 |
| 4.9.0 | 3,683,843 | 2025/11/23 |
| 4.8.1 | 4,072,391 | 2025/10/22 |
| 4.8.0 | 905,357 | 2025/10/19 |
| 4.7.0 | 4,790,335 | 2025/8/28 |
| 4.6.0 | 6,047,211 | 2025/6/13 |
| 4.5.0 | 795,667 | 2025/6/5 |
| 4.4.0 | 5,443,851 | 2025/4/14 |
| 4.3.0 | 7,130,878 | 2025/2/24 |
| 4.2.0 | 1,828,619 | 2025/2/10 |
| 4.1.0 | 4,907,772 | 2024/12/9 |
| 4.1.0-beta.12035377103 | 2,724 | 2024/11/26 |
| 4.1.0-beta.11746011829 | 11,741 | 2024/11/8 |
| 4.0.0 | 4,822,525 | 2024/11/1 |
| 3.10.0 | 8,576,805 | 2024/9/3 |