steps followed to install docker desktop in windows.
https://docs.docker.com/desktop/setup/install/windows-install/
downloaded : Docker Desktop for Windows - x86_64 .
For installation, I tried,
secondly, I chose to go for hyper-v . tried starting docker engine with , settings -> check box with use WSL based engine. - doesnt help , engine failed to start.
tried resetting with default , and engine still failed to start , shows pop -up again of failure.
My system doesnt have the hyper-v virtual machine , and i tried enabling hyper-v with the help of chat gpt answer.
dism.exe /Online /Enable-Feature /FeatureName:Microsoft-Hyper-V-All /All /LimitAccess /Restart
enabled and disabled both the commands ran in powershell , still doesnot help for docker desktop still auto closing.
desktop keep getting auto closed as well.
I tried a workaround which solves the issue with my machine configuration .
https://github.com/docker/for-win/issues/13638#issuecomment-2245569588.
1.now close the docker desktop. 2.open terminal
wsl --version
, machine has similar kernal version 5.15. and then proceeding with
wsl --install
and give username , password for ubuntu account creation . 3. open the docker desktop. DOCKER enginer run perfectly good !,
docker engine will start normally every time you open docker desktop.
hope this helps few!