New tool converts pretty much any Linux Docker image into a WSL distro

Windows Subsystem for Linux
(Image credit: Microsoft)

Cybersecurity firm Red Code Labs has created an open source tool called EasyWSL, which can be used to convert virtually any Docker image of a Linux distro to boot with Windows Subsystem for Linux (WSL). 

WSL enables advanced users to deploy and use Linux distros from inside Windows 10. The popular Windows subsystem has recently been updated and isn’t just faster, but also allows for full system compatibility by putting a real Linux kernel at the heart of things, and will soon even run graphical Linux apps.

By default, WSL is designed to fetch Linux distros from the Microsoft Store, which already lists quite a few distros, including Fedora, Ubuntu, Debian and others. However, many aren’t available or aren’t offered as free downloads. 

EasyWSL hopes to make it easier to build your own Linux distros that aren’t currently available via the store.

"Basically it was a great idea to try using Arch and Gentoo and their repos at the first point, but then I realized, why not somehow get images from Docker Hub, to make the possibilities even bigger," said one of the project’s developers in a conversation with BleepingComputer.

Roll your own

In addition to expanding the list of available WSL distros, the project also helps address a security concern with many of the distros listed in the Microsoft Store.

BleepingComputer notes that because many of the paid WSL distributions are not created by the original upstream project maintainers, but rather by third parties, business have a legitimate reason to be concerned about their integrity. 

EasyWSL works around this problem by creating WSL-compatible images from Docker containers created and managed by the original upstream maintainers of the project.

EasyWSL already offers a wide-range of free Linux distros, several of which aren’t available in the Microsoft Store. And distros that aren’t available can be easily converted from a Docker image for use with WSL with a single command.  

Via BleepingComputer

Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.