I am unable to start Docker Desktop. When ever I open the app it gets stuck on ‘Starting the Docker Engine’ and then gives the following error:
provisioning docker WSL distros: ensuring main distro is deployed: deploying “docker-desktop”: importing WSL distro “Failed to configure network (networkingMode Nat). To disable networking, set wsl2.networkingMode=None
in C:Usershp.wslconfigrnError code: Wsl/Service/RegisterDistro/CreateVm/ConfigureNetworking/HNS/ERROR_FILE_NOT_FOUNDrn” output=”docker-desktop”: exit code: 4294967295: running WSL command wsl.exe C:WindowsSystem32wsl.exe –import docker-desktop AppDataLocalDockerwsldistro C:Program FilesDockerDockerresourceswslwsl-bootstrap.tar –version 2: Failed to configure network (networkingMode Nat). To disable networking, set wsl2.networkingMode=None
in .wslconfig
Error code: Wsl/Service/RegisterDistro/CreateVm/ConfigureNetworking/HNS/ERROR_FILE_NOT_FOUND
: exit status 0xffffffff
checking if isocache exists: CreateFile wsl$docker-desktop-dataisocache: The network name cannot be found.
I have tried every method but the app is not starting. Also there is no .wslconfig
file in the location.
Any solution to this?
Muhammad Ahmad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.