how to install centos on wsl windows 10



WSL (Windows Subsystem for Linux), comes with a handful of linux distributions you can use, but Centos is not one of them. In this video I’ll show you how to import Centos as a distro on WSL and make it your default. You don’t need to install virtualbox. Docker is used to create and import the container into wsl. You’ll have Centos 8 running on wsl in minutes!

UPDATE: If you have WSL2 installed you can’t run the docker commands from Powershell. Either run them from command prompt or run them from a linux (Ubuntu), distro within WSL2.

Comments are closed.