WSL2 – Windows Subsystem for Linux has finally arrived on Windows 10 Home Edition Build 2004.
- How to Install WSL 2 and Windows Terminal on Windows 10 Home Edition
- Setting up Docker Desktop and VSCode on WSL2 using Windows Home Edition
- 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
- Install the new Terminal from Windows Store
- Turn Windows Features on or off > Enable: Virtual Machine Platform, Windows Hypervisor Platform, Windows Subsystem for Linux
- Download the and install the WSL 2 Linux Kernel from Microsoft
- Set WSL 2 as a default version with the command: wsl.exe –set-default-version 2
- Install the Linux distro you want from the Windows Store
- 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.
- Download Docker Desktop for Windows from Docker Hub
- Install the Docker Desktop for Windows, at the end logout and login in your computer
- Right-click on the Docker icon by the clock, Resources, WSL Integration and select your Linux Distros
- Download Visual Studio Code from Microsoft
- When VsCode starts, install the WSL Plugin
- Connect in your Linux Distro with the button corner left button
- 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 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.
- We are working from the directory C:\wsldistros\clearlinux
- Run the container once to load it: docker run clearlinux
- Use the command docker container ls -a to see the container name you’ve run
- Export the container’s rootfs in a tar file: docker export -o clearlinux.tar.gz <container name>
- Import the Distro to your WSL: wsl –import clearlinux C:\wsldistros\clearlinux C:\wsldistros\clearlinux\clearlinux.tar.gz –version 2
- Check with wsl.exe -l -v
- To run use wsl.exe -d clearlinux
Follow us on Twitter
Subscribe the Azuretar YouTube Channel