testcontainers / testcontainers/testcontainers-dotnet

[Enhancement]: Support nerdctl and docker commands

Open
#819 4 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

Unable to use testcontainers when using nerdctl.

Tools such as Rancher Desktop allow you to choose between docker and nerdctl.

Solution

Support the nerdctl or docker command. The CLI command structures are identical to support compatibility.

Either through configuration or auto-detection (preferred) to allow developers running different local setups to still be able to run tests.

Benefit

Supports a wider range of developers.

Alternatives

N/A

Would you like to help contributing this enhancement?

Yes

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

Start by tracing where the library invokes the Docker CLI and where local configuration is resolved; the issue does not name files or tests. Compare the command structures for docker and nerdctl, then add configuration or detection so both commands can run test containers and verify the behavior with focused tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, docker
Domain
devops, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.