Setup WSL 2 with Dockerhub on Windows
Development | Windows 10 | Docker | WSL2 | WSL | Ubuntu
WSL 2 is required in order to utilize Docker Desktop on Windows. This part can get a little confusing but once you know how to do it, then it becomes a lot easier. So how do we do this?
Step 1. Install WLS Linux
This article will utilize Windows SubSystem Linux. KOps is mainly a Linux based program. Azure can be ran on both Linux and Windows, but why not use both for this article.
Run the following to install WSL Linux
wsl --install
Step 2. Install Ubuntu
Go to the Microsoft App Store and download Ubuntu 18.0.4 LTS. Click Install to install app.
Step 3. Switch to WLS 2 as default version
WLS 2 is the most recent version. Switch to WLS 2 by running:
wsl --set-default-version 2
Note: If you do not already have Windows SubSystem Linux 2, then download it hereβ¦