dockerwindows-subsystem-for-linuxdocker-desktop

Why won't Docker Desktop Start


I am trying to install Docker Desktop for Windows and once I have completed the entire process as mentioned in their official documentation, including installing and enabling the wsl 2 on Windows. However, when I try to launch the application, nothing happens except for a process showing up in the task manager. Even the taskbar icon is not coming up. I have already browsed for information regarding this issue and tried the following solutions, but to no avail:

  1. Reinstalling Docker Desktop
  2. Removing the settings.json file in %APPDATA%\Roaming\Docker
  3. Running Docker Installer as Administrator
  4. Checking the WSL Feature in Windows Features is on.
  5. Installing an older version of Docker, on which the same issue persisted

System Specifications:

This is the log file generated: Docker generated Log file

Can someone please guide me regarding this?

Edit: When I installed docker on my friend's computer, and running the wsl -l -v command, he gets 3 entries namely Ubuntu, Docker desktop and docker desktop data, but on my pc it is only showing Ubuntu.


Solution

  • common/cmd/com.docker.backend/main.go:94 +0x25 [2022-07-23T05:32:38.131207600Z][com.docker.backend.exe][F] exec: "powershell": executable file not found in %PATH%
    

    This log message suggest the absence of a functional powershell on the Path. After fixing this Docker Desktop should start.