[Python] “docker.errors.DockerException: Error while fetching server API version:" Error in...

Discussão em 'Python' iniciado por Stack, Dezembro 21, 2024.

  1. Stack

    Stack Membro Participativo

    I have installed docker on M1 chip in Rosatta mode and Docker daemon is also running. When I try to execute "docker.from_env()" in my python code I’m getting this error


    “docker.errors.DockerException: Error while fetching server API version: (‘Connection aborted.’, FileNotFoundError(2, ‘No such file or directory’))”
    ​

    Can someone help to resolve this issue? I tried reinstalling the docker multiple times and my docker is upto date also.

    I tried reinstalling the docker multiple times and my docker is upto date also.

    Continue reading...

Compartilhe esta Página