rocky8 distro for wsl2.
minimal rocky8 + podman
+ python3
+ "wsl" user with sudo
access.
- Download and extract the release zip.
- Run the
install.bat
script.
NOTE: If rocky8
distro already exists, it will be REMOVED.
The script will warn you before doing so.
You'll need docker
or podman
.
- Check out the source code and run
./bin/release
- Copy the zip to windows, extract it, and run
install.bat
If you've got Docker, but can't run bash
scripts, you can still manage.
You just need to copy the process from ./bin/build
and ./bin/export
.
You can either:
-
Fork this repo and add your own modifications.
-
Pull this image into your own
Dockerfile
i.e.
FROM ghcr.io/kmmiles/rocky8-wsl:main
WSL2 distributions are really just containers. We build a container of our liking with docker
, then export the rootfs as a tarball.
Then this tarball can be imported as a WSL distribution with wsl.exe --import
.