A while back I installed WSL by following the instructions here. I was under the impression that I was running WSL 2. However, when I launched code-insiders
from the terminal (Ubuntu 20.04) today, I got a message saying that I'm running WSL 1 and strongly recommended that I upgrade. This was a surprise to me because I didn't think I was running WSL 1. Anyway, I opened a power shell (without admin) and ran wsl -l -v
and confirmed that I was in fact running WSL 1.
So I followed the instructions in that link again and after all the installs I ran wsl --set-default-version 2
and was greeted with a "The operation completed successfully" message. However, even after this, when I check the version, I still see I'm running WSL 1 and code-insiders
still has the same message about the WSL version. I'm not sure what's wrong here and any help is appreciated.
Thanks.