mariotoffia / FluentDocker

Use docker, docker-compose local and remote in tests and your .NET core/full framework apps via a FluentAPI
Apache License 2.0
1.31k stars 97 forks source link

Support other docker-compatible container engines (e.g. finch) #315

Open georgearnall opened 3 weeks ago

georgearnall commented 3 weeks ago

Somewhat related to https://github.com/mariotoffia/FluentDocker/issues/300. I see that there are some users that are using this package with different container runtimes (finch, podman etc).

There is a workaround for mapping these engines to the 'docker' binary with an alias, however this is not recommended by the maintainers of these projects.

It would be great if there was a way to override the binary that the library uses. https://github.com/mariotoffia/FluentDocker/blob/6cc2f4e1969d98ec690e51528d82431059d11262/Ductus.FluentDocker/Extensions/Utils/DockerBinariesResolver.cs#L92-L153