Reputation:
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:
Docker desk app
and installed it again.WSL 2
and installed the app again.How can I fix it? Any suggestions? Thanks.
Upvotes: 3
Views: 8802
Reputation: 27
Try by deleting the following folders- C:\Users\Admin\AppData\Roaming\Docker and C:\Users\Admin\AppData\Roaming\Docker Desktop
It works for me.
Upvotes: 0
Reputation: 7197
I tried all the "delete settings.json" solutions and didn't work for me. This is what worked:
Upvotes: 5
Reputation: 985
I’ve deleted %appdata%\Docker and %appdata%\Docker Desktop. After that everything is OK for me.
Upvotes: 0
Reputation: 1
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 Files\Docker\Docker\resources\com.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>\.docker\scan\config.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.
Upvotes: 0
Reputation: 131
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.
Upvotes: 13