Question

[Solved] System.InvalidOperationException: Failed to deploy distro docker-desktop to C:UserslenovaAppDataLocalDockerwsldistro: exit code: -1

i am trying to run docker Desktop in my windows 10 Local. have installed it sucessfully but while running it i am getting the below error.

System.InvalidOperationException:
Failed to deploy distro docker-desktop to C:UserslenovaAppDataLocalDockerwsldistro: exit code: -1
 stdout: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

I think it is saying some windows service need to be enabled, but i dont know which service has to be enabled could someone please help me with this concern?

docker version
C:Userslenova>docker –version
Docker version 20.10.2, build 2291f61

enter image description here

Solution #1:

Try delete %USERPROFILE%/.wslconfig. If it helps then you can try to modify it so that it work. As for me I deleted the file, because on my workstation docker didn’t want to work with it

Respondent: Potato

Solution #2:

Right click on docker icon, run as administrator (if you have administrator rights on your computer). It solved the problem for me.

Respondent: Fazil.M

Solution #3:

  • Uninstall Docker.
  • Uncheck Containers, Hyper-V, Windows Subsystem for Linux in Windows features
  • Restart the system
  • Install Docker Desktop
  • Restart System
  • Start Docker Desktop
Respondent: user2899477

Solution #4:

@potato rename or delete .wlsconfig. On windows press windows+r
and type %USERPROFILE% and search .wlsconfig file, delete or rename.
rename .wlsconfig file

Respondent: halbarba

The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

Most Popular

To Top
India and Pakistan’s steroid-soaked rhetoric over Kashmir will come back to haunt them both clenbuterol australia bossier man pleads guilty for leadership role in anabolic steriod distribution conspiracy