Troubleshooting: What to do if you receive an error in Docker Desktop like I did
If you receive an error that looks like this Unable to create: The running command stopped because the preference variable “ErrorActionPreference” on Docker Desktop for Windows 10, it may be because you need a command to compile a mof file. What you will need to do is open your start menu, search for “Command Prompt”, right click “Run as Administrator”, and paste in the following command:
MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof
Once this command has run, reset Docker Desktop and you should be able to start Docker Desktop without any errors now.
Link to where I found this answer: https://community.spiceworks.com/how_to/122307-fix-error-managing-hyper-v-server-2012-r2-from-windows-10
Hope this helps someone other than just myself!