Docker Community Forums

Share and learn in the Docker community.

Docker failed to initialize.Operation timed out

After Docker desktop Update or Download the latest version for windows 10, docker can’t start i am getting this error message

in console show me this error
error during connect: This error may indicate that the docker daemon is not running.: Get “http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json”: open //./pipe/docker_engine: El sistema no puede encontrar el archivo especificado.

Most probably this due to switching between Linux and windows containers.
Try “C:\Program Files\Docker\Docker\DockerCli.exe” -SwitchDaemon in cmd
or & ‘C:\Program Files\Docker\Docker\DockerCli.exe’ -SwitchDaemon in powershell

HI! thanks for the suggestion! I solved this by erasing some folders of docker in C:\Users\nameUser\AppData\Roaming\Docker Desktop…

Can you please explain

I solved it by deleting these three folders:
C:\Users[USER]\AppData\Local\Docker
C:\Users[USER]\AppData\Roaming\Docker
C:\Users[USER]\AppData\Roaming\Docker Desktop

Once deleted, I didn’t have to do anything else, Docker Desktop started booting up as normal. Note, that I have Docker Desktop configured to run on startup. If you don’t have this set, you may need to manually run Docker Desktop after deleting these directories.

7 Likes

this is a good find. this worked for me but I would have never thought to try this.

great, that works also to me like a charm.

As suggested by @Bryan, Its working now after deleting those folders. Thanks.

Why do we need to delete it, anybody any idea?

Thanks man… it worked :slight_smile:

Worked for me. Thank you!!