2 ms·
I love WSL, but I have multiple systems and juggling apt packages is a pain. So I had this in my head for a long time, that I can just build a rootfs using doc
by K0IN 2y ago
I love WSL, but I have multiple systems and juggling apt packages is a pain.
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.
- gavinray 2y agoCould you add this to the README? I went looking for the "Why?" and couldn't find it, I think others would like to hear this too =) Best thing I could come up with was "declarative WSL setup like Nix/Fedora Silverblue"
- turboponyy 2y agoSomewhat related: https://github.com/nix-community/NixOS-WSL https://github.com/nix-community/NixOS-WSL