https://github.com/cdhtlr/wolfiwsl
Minimal container images with low-to-zero CVEs for development in WSL (Windows Subsystem for Linux).
https://github.com/cdhtlr/wolfiwsl
container docker linux windows-subsystem-for-linux wolfi wolfi-os wsl wsl2
Last synced: about 1 year ago
JSON representation
Minimal container images with low-to-zero CVEs for development in WSL (Windows Subsystem for Linux).
- Host: GitHub
- URL: https://github.com/cdhtlr/wolfiwsl
- Owner: cdhtlr
- Created: 2025-03-02T07:12:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-02T07:23:22.000Z (over 1 year ago)
- Last Synced: 2025-03-15T21:20:00.970Z (over 1 year ago)
- Topics: container, docker, linux, windows-subsystem-for-linux, wolfi, wolfi-os, wsl, wsl2
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WolfiWSL
Tutorial for installing Wolfi WSL images + calling Windows applications without any hassle.
Open the WSL Manager application (download it first from [bostrot/wsl2-distro-manager](https://github.com/bostrot/wsl2-distro-manager) if you don't have it yet), click "Add new instance", then enter the required data.

Open Wolfi from Windows Terminal then enter the following command
apk update && apk upgrade
apk add mount libstdc++ bash curl sudo make git --no-cache
git clone https://github.com/wslutilities/wslu ~/wslu && cd ~/wslu
bash configure.sh
make
sudo make install && sudo install -m755 extras/scripts/wslu-uninstall /usr/bin
apk del --purge sudo make git && apk cache clean
echo "echo 'Welcome to WolfiWSL :D'" > /etc/motd
echo "alias a=wslact" > .profile
echo "alias s=wslusc" >> .profile
echo "alias o=wslview" >> .profile
echo "clear" >> .profile
echo "/etc/motd" >> .profile
chmod +x /etc/motd .profile
rm -rf .ash_history ~/wslu
If you haven't set WSL auto shutdown when idle, shutdown WSL with the following command
wsl --shutdown
Close Windows Terminal then reopen it.
Open Windows application you need, for example notepad.
o notepad.exe
Open Microsoft Word file easily.
o example.docx
## No GUI (WSLg) support because it's Wolfi :)