Open kieronlanning opened 1 year ago
The CLI command structures are identical to support compatibility.
Do you know if nerdctl
is Docker Engine API compatible? Testcontainers does not use the CLI implementation of Docker. It relies on Docker's Engine API.
@HofmeisterAn I don't believe so... however, there are projects that bridge both:
https://github.com/afbjorklund/nerdctld found via https://github.com/containerd/nerdctl/issues/798
Okay, this sounds similar to Podman support. I think the Podman developers use TC to test their API compatibility. Maybe that makes sense for nerdctl
too. I am happy to continue with nerdctl
support as soon as it is compatible.
Wicked, thankyou.
Problem
Unable to use
testcontainers
when usingnerdctl
.Tools such as Rancher Desktop allow you to choose between
docker
andnerdctl
.Solution
Support the
nerdctl
ordocker
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