I first pulled the newest launch from the Microsoft container repository after which had Podman run it as a named container, itemizing the file system contents to verify that it was operating accurately. I used to be then capable of export the container contents from the picture utilizing the Podman export command, which creates a tarball from the goal container’s file system.
As Home windows 11 gives a direct hyperlink to put in WSL file methods from Home windows, I navigated to my Ubuntu person listing and copied the Azure Linux tarball to Home windows, the place it was able to import into WSL. Microsoft does present directions to construct configuration scripts for full-scale WSL installs, however when you simply need to take a look at a distribution and don’t thoughts operating as root, you may merely create a goal listing in your Linux file methods and use the WSL import command to create a brand new occasion in that folder with a particular identify out of your tarball.
If you wish to construct a typical WSL picture that may be put in throughout a workforce, it’s a good suggestion to create a bundle configuration utilizing Microsoft’s beneficial scripts. This can arrange teams, pressure the creation of an area person, and add the person to them, for instance, making certain entry to sudo. You may enhance integration between the Azure Linux set up and Home windows Terminal by making a terminal profile with the official blue penguin emblem; in any other case, all you get is the default identify and icon as launch choices.
