crate/cratedb-toolkit

Problem with Testing: `DockerException: Error while fetching server API version`

amotl opened this issue · 0 comments

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.