![]() ![]() When I changed the name back to the original Ubuntu from Ubuntu 20.04 LTS and executed the command again > wsl -unregister Ubuntuĭocker has already been installed on my machine so I updated the version to Docker Desktop 4.12.0.īut it didn’t work as expected. There is no distribution with the supplied name. Ubuntu 20.04 LTS Stopped 2 wsl -unregister Ubuntu So, I tried to remove it but… > wsl -l -v The default version was 20.04 when I executed it but it could change with this option -set-default-version. If you need two Ubuntu with the same version, you can install them with the following commands. The same version was installed correctly. Find an entry where DistributionName is Ubuntuĭocker-desktop Stopped 2 Installing the same Ubuntu versionīy the way, when I executed the following command wsl -install -d Ubuntu-20.04.Go to \HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss.So, I changed it with the following steps. ![]() Update completed but the name is Ubuntu without the version info. > wsl -set-version ubuntu 2ĭocker-desktop Stopped 2 Change the display name I changed the version with the following command. Change the version from WSL1 to WSL2īut if I check the version, Ubuntu uses WSL1. If you specify the version, the command is for example the following. It might be better to specify the version explicitly to have the name with the version. You can check the available distribution list. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |