On 4/5/22 00:14, Patrick Dupre wrote:,
It's reasonably straightforward to install an unpackaged distribution,
you just need a tarball of the distribution. And lots of those are
available for use with podman (or docker). For example I can pull a
container image and then save that to an archive:
podman pull fedora:35
podman save fedora:35 -o fedora35.tar
Inside "fedora35.tar" is another tar archive, which is the base layer
for the fedora:35 image. Copy fedora35.tar to your Windows system, and
extract it there. Now you can import that and then run it:
wsl --import fedora35
c:\Users\<user>\AppData\Local\Packages\Fedora35
c:\Users\<user>\Downloads\fedora35\*.tar
wsl -d fedora35
You'll usually want to set a registry key to change the default user...
(HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss\{
assigned GUID })
It's not click and run by any means, but it's feasible.
https://docs.microsoft.com/en-us/windows/wsl/use-custom-distro