Docker -> How to get Docker Desktop running on Win 10 while fixing The attempted operation is not supported for the type of object referenced Error.
If you run into an issue where DOcker Desktop won’t run on your computer and exits with a-1 and a error message like this:
Failed to set version to docker-desktop: exit code: -1 stdout: The attempted operation is not supported for the type of object referenced.
Then do the following
- Go to RegEdit
- Go to this Key:
- Make a new unqiue key (a random hash can do). I used 0408F7A3, which seems to work everytime. I tried a different hash and it didn’t work.
- So your key is Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2\Parameters\AppId_Catalog\RANDOM_HASH_HERE
- Then enter these values into your key
Now,make sure the WSL (Windows Subsystem for Linux) ,Virtual Machine Platofrm ,Windows Hypervisor Platform, and Hyper-V features are turn on in your Windows machine :
Then try to restart Docker Desktop. If all goes well, it should load up for you.