WSL2 Video Series

WSL2 – Windows Subsystem for Linux has finally arrived on Windows 10 Home Edition Build 2004.

The following three videos, presented by Fernando Rolnik, Jorge Arteiro and Nuno do Carmo will show:

  1. How to Install WSL 2 and Windows Terminal on Windows 10 Home Edition
  2. Setting up Docker Desktop and VSCode on WSL2 using Windows Home Edition
  3. Create your own customized WSL2 Linux distro using Docker desktop on Windows 10 Home Edition

Part 1: How to Install WSL 2 and Windows Terminal on Windows 10 Home Edition

  1. Install the new Terminal from Windows Store
  2. Turn Windows Features on or off > Enable: Virtual Machine Platform, Windows Hypervisor Platform, Windows Subsystem for Linux
  3. Download the and install the WSL 2 Linux Kernel from Microsoft
  4. Set WSL 2 as a default version with the command: wsl.exe –set-default-version 2
  5. Install the Linux distro you want from the Windows Store
  6. Use the command wsl.exe –help to learn more

Part 2: Setting up Docker Desktop and VSCode on WSL2 using Windows Home Edition

This is part 2 of our WSL2 series talking about Setting up Docker Desktop using new WSL2 – Windows Subsystem for Linux and Installing VSCode with WSL2 and Docker extensions to enable WSL2 remote connection.

  1. Download Docker Desktop for Windows from Docker Hub
  2. Install the Docker Desktop for Windows, at the end logout and login in your computer
  3. Right-click on the Docker icon by the clock, Resources, WSL Integration and select your Linux Distros
  4. Download Visual Studio Code from Microsoft
  5. When VsCode starts, install the WSL Plugin
  6. Connect in your Linux Distro with the button corner left button
  7. Install the Docker plugin, using the blocks button on the left bar.

Part 3: Create your own customized WSL2 Linux distro using Docker desktop on Windows 10 Home Edition

Nuno “WSL Corsair” do Carmo, our Microsoft MVP for Windows insider and Docker Captain join us on part 3 of our WSL2 series with our panel: Fernando Rolnik, Nuno do Carmo and Jorge Arteiro. Nuno is Deeping dive into WSL2 – Windows Subsystem for Linux with new Windows Terminal and Windows Home Edition. This video will show how to install your own customized WSL2 Linux distro using Docker desktop. As an example, we are using Clear Linux.

  1. We are working from the directory C:\wsldistros\clearlinux
  2. Run the container once to load it: docker run clearlinux
  3. Use the command docker container ls -a to see the container name you’ve run
  4. Export the container’s rootfs in a tar file: docker export -o clearlinux.tar.gz <container name>
  5. Import the Distro to your WSL: wsl –import clearlinux C:\wsldistros\clearlinux C:\wsldistros\clearlinux\clearlinux.tar.gz –version 2
  6. Check with wsl.exe -l -v
  7. To run use wsl.exe -d clearlinux

Part 4: Setting up Pengwin Linux on Windows WSL 2

PengWin is the first Linux distribution made specifically for Windows. It has menus to install and configure the most used Linux applications, organized by categories. It is ultra-intuitive. In this video, Fernando will setup up PengWin showing all intuitive menus while Nuno comments functionalities and interesting facts. Fernando will show how PengWin makes the DevOps life on Windows easy.

Learn more about the PengWin Linux distro on the Whitewater Foundry Website.

Follow us on Twitter

@azuretar @fernandorolnik @jorgearteiro @nunixtech

Subscribe the Azuretar YouTube Channel