Skip to content

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

Open
@amotl

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions