Docker / WSL2 – Error: 0xffffffff

Joe Blogs

To fix the error “System.InvalidOperationException: Failed to deploy distro docker-desktop to AppData\Local\Docker\wsl\distro: exit code: -1
stdout: Error: 0xffffffff” open a command prompt as admin and run the following command:

netcfg -d

This will remove all network interfaces, now restart your machine. You should now be able to start Docker using WSL2.