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

Unclear error when docker is not running #399

Closed
cosmikwolf opened this issue Mar 31, 2024 · 2 comments
Closed

Unclear error when docker is not running #399

cosmikwolf opened this issue Mar 31, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@cosmikwolf
Copy link

cosmikwolf commented Mar 31, 2024

on Mac OS, I get the following error when I try and do:

let docker = Docker::connect_with_local_defaults().unwrap();

called `Result::unwrap()` on an `Err` value: HyperLegacyError { err: Error { kind: Connect, source: Some(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } }

In the errors file, all I could find is that the hyper legacy error should never happen.

Also I would expect that connect_with_local_defaults() would fail if the docker client is not running.

@fussybeaver
Copy link
Owner

Is this the same as #383 ?

@fussybeaver fussybeaver added the duplicate This issue or pull request already exists label Mar 31, 2024
@cosmikwolf
Copy link
Author

ah yes, looks like a duplicate. closing.

Thanks for your plugin! its rad :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants