Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

justinbarclay/arch-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A dev environment for WSL2

Setup the docker container as a WSL2 Instance

  1. Build the image
docker build -t artix .
  1. Export the container
docker save artix -o ./artix.tar
  1. Create a new directory to store all the distros
mkdir c:\wsl
  1. Copy the .tar file into the distros directory
cp .\artix.tar c:\wsl\artix.tar
  1. Go to distros directory and create the new distro
cd c:\wsl

wsl.exe --import arch .\artix .\artix.tar
  1. Check that the distro has been correctly created
wsl.exe --list
  1. Run the newly created distro with the user created during the customization
wsl.exe -d artix --user justin

About

My Arch Linux set-up for WSL2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published