Wsl: Needs some documentation of how to install duplicates of distros

Created on 4 Nov 2018  ยท  2Comments  ยท  Source: MicrosoftDocs/WSL

When using VMs it's usually easy to just install a base distro and then "fork" that same distro into several branches, (e.g. "base 'DistroName 123 LTS' vm", "WebDevStack vm based on base", "Wild experiment 1 based on WebDevStack", "Wild experiment 2 ... etc.).

How is that accomplished with wsl? The Windows Store does not give a possibility to install a new copy of a distro if you've already installed it, just gives the opportunity to start the distro.

Note:
I did find a 3rd party tool, LxRunOffline, claiming to do this, but I would prefer there was some 1st party documentation and tools to accomplish this. (Found through this SO question which also presents another method citing WSL-DistroLauncher)


Document Details

โš  Do not edit this section. It is required for docs.microsoft.com โžŸ GitHub issue linking.

Most helpful comment

@craigloewen-msft ๐Ÿ‘
Yeah,- thanks,- import/export has really been an excellent addition to wsl. Here is a lot of ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ and a ๐Ÿฅ‡ to you devs from me.

All 2 comments

This is now possible using wsl --import and wsl --export!

You can find my personal instructions on setting this up here: https://craigloewen-msft.github.io/WSLTipsAndTricks/tip/duplicate-distro.html

@craigloewen-msft ๐Ÿ‘
Yeah,- thanks,- import/export has really been an excellent addition to wsl. Here is a lot of ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ and a ๐Ÿฅ‡ to you devs from me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

taoyichen picture taoyichen  ยท  8Comments

horvan picture horvan  ยท  4Comments

shaunluttin picture shaunluttin  ยท  6Comments

CeciAc picture CeciAc  ยท  7Comments

MaxPowerWasTaken picture MaxPowerWasTaken  ยท  4Comments