Code Kings
Published in

Code Kings

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

  1. Go to RegEdit
  2. Go to this Key:
  3. Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2\Parameters\AppId_Catalog\
  4. 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.
  5. So your key is Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2\Parameters\AppId_Catalog\RANDOM_HASH_HERE
  6. Then enter these values into your key

Enter parameters

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.

Happy DevOping!

--

--

--

Programming tips & tricks from professionals

Recommended from Medium

The Dumb IOT Project

Material Kit Generator — Build a BS5 Website Fast

App Generator — Material Kit Design

3 tips to become a SUPER Data Scientist

Technical Fundamentals for Product Managers [1/3]

Why Legacy System isn’t going anywhere (yet)

AWS Roadmap from zero to hero

How to root Color K22

Root LG Phone

How to root Color X50

Root LG Phone

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tony Mucci

Tony Mucci

Founder of My Company Tools • Co-Founder/Former CTO of Dree • Co-Founder of Eklect Enterprises. Opinions on this blog are my own.

More from Medium

Multiple language support in Lambdas using layers.

How to run background command with nohup

Complete Guide of CICD pipeline using GitLab Runner to AWS EC2 instance with containerising the…

Deploy your Java Lambda easily with Microlam!