by K0IN on 9/12/24, 11:05 AM with 11 comments
by K0IN on 9/12/24, 11:05 AM
So I had this in my head for a long time, that I can just build a rootfs using docker and load it in WSL.
I tried it yesterday, and now I have a CLI tool to build my WSL image using Dockerfiles.
I'm not sure if it helps anyone, but I wanted to share it, just in case.
Cheers.
by marmaduke on 9/12/24, 4:22 PM
So this would have solved my prob: have a dockerfile or image and up an wsl env for it. Given how great wsl is these days (i used to have Linux and Mac as daily drivers, now wsl) I guess this sort of thing will become more and more relevant
by Rucadi on 9/12/24, 2:17 PM
It's totally unmaintained and forgotten :D
In general, what I do now to generate WSL images is to docker run a container, and then export it to a .tar, finally, install that tar, is that easy.
However, if I had your tool installed, for sure I would use that for ease of use.
by el_oni on 9/12/24, 3:58 PM
Thanks for sharing!
by cckk on 9/14/24, 9:12 PM
by pasi1337 on 9/12/24, 5:37 PM
Thanks for sharing this.