testcontainers / testcontainers/testcontainers-dotnet
[Enhancement]: Support nerdctl and docker commands
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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