NAME STATE VERSION
* Ubuntu Running 2
docker-desktop Stopped 2
docker-desktop-data Stopped 2
I know from experience that the named Ubuntu is actually: Ubuntu 22.04 LTS (Jammy Jellyfish). It would be helpful if the distro name actually contained information such as the version 22.04.docker-desktop Stopped 2
docker-desktop-data Stopped 2
When I installed a few years ago, I used the following command, where the name Ubuntu means “install the latest distro”:
wsl --install -d Ubuntu
The problem with this generic/latest approach is that the distro is simply named Ubuntu.
It makes more sense to install the distro by specifying the version, such as:
wsl --install -d Ubuntu-22.04
wsl --install -d Ubuntu-24.04
wsl --install -d Ubuntu-24.04
Running wsl -l -v again from PowerShell shows the distros with their version numbers:
NAME STATE VERSION
* docker-desktop Stopped 2
Ubuntu-22.04 Stopped 2
docker-desktop-data Stopped 2
Ubuntu-24.04 Running 2
* docker-desktop Stopped 2
Ubuntu-22.04 Stopped 2
docker-desktop-data Stopped 2
Ubuntu-24.04 Running 2
QED: Quod Erat Demonstrandum
No comments :
Post a Comment