skip to Main Content

I run Windows 11 and when I try to start Docker desktop app it gives me the following error: Docker failed to initialize. Docker Desktop is shutting down.

I have tried several thing before posting this:

  1. Uninstalled Docker desk app and installed it again.
  2. Uninstalled it, restarted the computer, updated WSL 2 and installed the app again.

How can I fix it? Any suggestions? Thanks.

3

Answers


  1. Go to C drive , Users, Select your user, App data, Roaming and then delete the Docker folder. You shall be able to start docker again.

    Login or Signup to reply.
  2. I have encountered the same problem too and already try
    many solution found on the internet.

    I have found this issue and manually run C:Program FilesDockerDockerresourcescom.docker.backend.exe, then I got this error.

    [2022-07-23T13:14:00.191660000Z][com.docker.backend.exe][E] 
    verifying docker scan plugin config: saving JSON: open 
    <HOME>.dockerscanconfig.json: Access is denied.
    [main.main()
    [       common/cmd/com.docker.backend/main.go:96 +0x85
    

    After removing ‘.docker/config.json’ in C:Users{YOUR_USERNAME} folder, everything works fine after restarting docker desktop.

    Hope my answer help.

    Login or Signup to reply.
  3. I’ve deleted %appdata%Docker and %appdata%Docker Desktop. After that everything is OK for me.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search