testcontainers / testcontainers/testcontainers-dotnet

[Enhancement]: DockerClient Java equivalent

Open
#1,076 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
4.4k
Forks
357
Avg merge
14h 42m
Merged PRs (30d)
16

Description

Problem

I saw https://www.tomcools.be/post/june-2022-testcontainer-imagebuilder/ - this getDockerClient / commitCmd / pushImageCmd dance would be exactly what I wanted to do with a MSSQL Container - start, apply EF migration, seed some data, persist & push to registry for developers to pull.

Solution

I didn't see the functionality on .NET side (the obvious .DockerClient didn't exist), replicating the Java functionality would be great.

Benefit

Building container images on the fly using TestContainer.NET

Alternatives

tbh, haven't yet found a good one, eg via bacpac

Would you like to help contributing this enhancement?

No, in the sense that I don't know the internals of TestContainers.NET and likely wouldn't be able to contribute a PR.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files, tests, or entry points are named. Start by reading the linked Java DockerClient workflow and then inspect the repository's existing Docker and Testcontainers APIs; done would mean a defined .NET equivalent that can build, persist, and push container images.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, docker
Domain
devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.