Make Hyper-V default engine on Docker Desktop for Windows Installation

Hello, I have a need to make Hyper-V default on installation of some users but currently Docker Desktop is always trying to use WSL. Is there a flag I can pass with the installation exe to turn off wsl?

To configure Docker Desktop to use Hyper-V instead of WSL 2 as the default daemon, you can follow these steps:

  1. Open Docker Desktop and click on the Settings button.
  2. In the General tab, select Hyper-V from the Use the WSL 2 based engine dropdown.
  3. Click Apply & Restart to apply the changes and restart Docker Desktop.

Alternatively, you can also use the --engine=hyperv flag with the Docker.exe command to specify that you want to use Hyper-V as the default daemon.

Is this true for Windows 11 Home edition too? I don’t see the drop-down option.

Hyper-V was never available fo Docker Desktop on Windows Home, simply because Hyper-V is available in Windows Pro or Enterprise (or Education)

It mentions Windows 10, but 11 is the same. Docker Desktop become available for Windows Home editions only when WSL2 was already supported by Windows Home.