Built something? We create video reels & spotlights for GitHub projects.Promote your project →
testcontainers
Home / C# / testcontainers-dotnet

testcontainers/testcontainers-dotnet

A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.

★4.4KSTARS
⑂356FORKS
!42ISSUES
🏆#1,175GLOBAL RANK
🔥2DAYS TRENDING
🚀
Maintainer Growth Kit for testcontainers-dotnet

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for testcontainers/testcontainers-dotnet
CSV

Momentum

+109

STARS · LAST 30 DAYS

4

PER DAY

#51

MOST-STARRED C#

Window7 days30 days90 days
Stars gained+28+109+360
Per day444
Forks gained+2+7+18

testcontainers-dotnet gained 109 stars in the last 30 days, about 4 a day, and now has 4.4K. It is about 8 years old and has averaged roughly 545 stars a year. It ranks #51 among C# repositories and #1,175 across all languages on GitHubRepo.

Trending Record

testcontainers-dotnet has maintained a continuous presence across global trending indexes, peaking at #1592. Below is the 30-day activity profile:

💡 Overview

testcontainers-dotnet is an open-source project written in C#: A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.

Engineered for speed, consistency, and developer ease, it solves common hurdles in automation, docker, dotnet. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in C# for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ docker pull testcontainers/testcontainers-dotnet

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

C# environment and standard tooling

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

testcontainers-dotnet coordinates its core functionality through a modular C# pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Autonomous AI Agents

Orchestrate intelligent workflows and tool-calling routines with testcontainers-dotnet.

Model Inference & Prompting

Integrate fast, local or cloud-hosted generative AI models directly into production code.

Context Memory & RAG

Augment language models with dynamic vector retrieval and structured project memory.

Developer Productivity

Automate repetitive engineering tasks, code generation, and test creation using AI agents.

🚀 Getting Started

1

Install testcontainers-dotnet using your package manager: `docker pull testcontainers/testcontainers-dotnet`

2

Initialize your project workspace or configuration file for testcontainers-dotnet.

3

Import testcontainers-dotnet into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `testcontainers-dotnet --help` to verify successful setup.

👍 Strengths

Active community backing with 4,361 GitHub stars and verified adoption.
Permissive open-source distribution under the MIT license.
Built in C# for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with C# and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

V
2dust/v2rayN ★ 117.2K C#

A GUI client for Windows, Linux and macOS, support Xray and sing-box and others

Compare ↗
J
jellyfin/jellyfin ★ 57.5K C#

The Free Software Media System - Server Backend & API

Compare ↗
P
PowerShell/PowerShell ★ 55.5K C#

PowerShell for every system!

Compare ↗
F
files-community/Files ★ 45.7K C#

A modern file manager that helps users organize their files and folders.

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with C#, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

testcontainers/testcontainers-dotnet is currently ranked #1,175 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#1,169 LibreOffice/core C++ ★ 4.4K Compare ↗
#1,171 alextselegidis/easyappointments PHP ★ 4.4K Compare ↗
#1,172 micheleg/dash-to-dock JavaScript ★ 4.4K Compare ↗
#1,173 SteamClientHomebrew/Millennium C++ ★ 4.4K Compare ↗
#1,174 rkyv/rkyv Rust ★ 4.4K Compare ↗
#1,175 testcontainers/testcontainers-dotnet This Project C# ★ 4.4K
#1,175 dankogai/js-base64 JavaScript ★ 4.4K Compare ↗
#1,177 radzenhq/radzen-blazor C# ★ 4.4K Compare ↗
#1,178 mongodb/mongo-python-driver Python ★ 4.4K Compare ↗
#1,179 BraveOPotato/FckSignups TypeScript ★ 4.4K Compare ↗
#1,180 nubjs/nub Rust ★ 4.4K Compare ↗

Frequently Asked Questions

What does testcontainers-dotnet do? +

A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.

What language is testcontainers-dotnet written in? +

The primary language is C#. Topics include: automation, docker, dotnet, hacktoberfest, testcontainers.

Is testcontainers-dotnet actively maintained? +

Yes, the last recorded push was on Sep 27, 2026 with 42 open issues being tracked.

How many stars does testcontainers-dotnet have? +

testcontainers-dotnet has 4,361 stars and 356 forks on GitHub.

How does testcontainers-dotnet rank among GitHub repositories? +

With 4,361 stars, testcontainers/testcontainers-dotnet is ranked #1,175 globally across all repositories tracked on GitHubRepo and #51 among C# projects.

What license is testcontainers-dotnet distributed under? +

The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.