Skip to main content

How to install Ubuntu in WSL2 and Setup Podman

1 From your VDI, search for Terminal in the "Search Bar".

Type Terminal in Search Bar

2 Click Open to launch Terminal.

Click Open

3 Type "wsl --version" to check the version and Install your ubuntu distribution :

wsl --version
wsl --install ubuntu
caution

You will be ask to set your username and password

4 In the Open terminal, Right-click here.

5 Open again a new terminal.

6 Click here.

7 Now you can open directly your ubuntu distribution from Terminal.

8 Copy/Past commands below in terminal (PowerShell) :

   Podman machine list
Podman machine stop
Podman machine rm podman-machine-default
Podman machine init
Podman machine start

9 Type "enter" to start the Podman machine

10 Now you can Double-click Podman Desktop Icon on the Desktop.

11 Click on "Go to Podman Dektop" Button .

12 Now you have access to your Podman Desktop.

If you need help with Podman, please refer to the Online documentation of the product.