%APPDATA%\Docker\settings.json file for Docker Engine backend with Hyper-V or WSL2.
Windows 11 Pro 22H2
$ wsl --version
WSL Version: 2.0.9.0
Kernel Version: 5.15.133.1-1
Hyper-V and WSL2 difference
Entry | Hyper-V | WSL2 | Descption |
---|---|---|---|
wslEngineEnabled | false | true | You can identify Docker Desktop is using WSL2 or not. |