Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Failed to find docker client binary #51

Closed
JolandavWyk opened this issue Jul 25, 2018 · 3 comments
Closed

Error: Failed to find docker client binary #51

JolandavWyk opened this issue Jul 25, 2018 · 3 comments

Comments

@JolandavWyk
Copy link

When I run my code in a container I get an error:

Unhandled Exception: System.TypeInitializationException: The type initializer for 'Ductus.FluentDocker.Extensions.CommandExtensions' threw an exception. ---> Ductus.FluentDocker.Common.FluentDockerException: Failed to find docker client binary - please add it to your path

The error occurs on my first line of code:
var hosts = new Hosts().Discover();

Please assist.

Regards
Jolanda

@mariotoffia
Copy link
Owner

mariotoffia commented Jul 25, 2018 via email

@mariotoffia
Copy link
Owner

Since I haven't heard of you for a while I will close this issue now but I can open it again if you still have problems.

Cheers,
Mario

@srinathck
Copy link

Hi,
I have a similar issue.
Running the code from a container and my container doesn't have docker or docker machine installed on it. I would still like to communicate with the host machine from container and use fluentdocker to issue docker-compose commands. Is that possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants