Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

import docker image

You first must export the WSL distribution you wish to clone.

1. wsl.exe --export OriginalDistributionName FileName.tar

You must now import the distribution you just cloned with the following command:

2. wsl.exe --import ClonedDistributionName InstallLocation FileName.tar

You can start the cloned distribution by running the following command:

3. wsl --distribution ClonedDistributionName
 
PREVIOUS NEXT
Tagged: #import #docker #image
ADD COMMENT
Topic
Name
7+7 =