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

Problem with Testing: DockerException: Error while fetching server API version #254

Open
amotl opened this issue Sep 2, 2024 · 0 comments

Comments

@amotl
Copy link
Member

amotl commented Sep 2, 2024

Problem

When invoking software tests.

docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

Solution

Go to "Docker Desktop » Settings » Advanced", and enable "Allow the default Docker socket to be used (requires password)".
image

After a recent Docker upgrade, I had to toggle it off and on again to receive a confirmation prompt to make it work again, where it worked before. C'est la vie.

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

1 participant