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 20.10.2, build 2291f61
%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
Right click on docker icon, run as administrator (if you have administrator rights on your computer). It solved the problem for me.
- Uninstall Docker.
- Uncheck Containers, Hyper-V, Windows Subsystem for Linux in Windows features
- Restart the system
- Install Docker Desktop
- Restart System
- Start Docker Desktop
@potato rename or delete
.wlsconfig. On windows press
%USERPROFILE% and search
.wlsconfig file, delete or rename.
rename .wlsconfig file