I'm having some trouble getting Docker to work since my company has blocked WSL on my machine. I've set up Docker to run on Hyper-V, but when I try to launch the Docker engine, I get an error message that states "invalid WSL version string (want ..[.])". The logs show that Docker is trying to execute "wsl --version" automatically, which doesn't return any data and leads to the error. Does anyone have suggestions for how to run Docker without relying on WSL?
1 Answer
You might want to check if you're running the Docker engine within a Linux virtual machine since Hyper-V is set up. Also, make sure that your Docker Desktop is configured to work with Hyper-V directly without requesting WSL.
I don't think I'm running it in a VM. I'm using Windows 11 with Hyper-V, and it appears to be working fine. Let me know if that changes things!