Coder Social home page Coder Social logo

wsl-distrolauncher-alpine's Introduction

WSL Alpine DistroLauncher

Introduction

This is the Alpine Launcher implementation for a Windows Subsystem for Linux (WSL) distribution.

Note: This project is written in C++.

Goals

The goal of this project is to enable:

  • Allow devolopers to use Alpine on their Windows machines for simple tasks (basically everything except kernel modules)
  • Allow developers to use the WSL with a very low footprint (compared to debian/ubuntu)
  • Use the official tar.gz userland release without building a custom userland tar.gz
  • Make the project "self maintained", i.e. don't require to ship any dependencies that require being updated and automatically pull the latest stable userland from the official source (WIP)

Project Status

This project is an active repo maintained by agowa338. The official windows Store download can be found here: https://www.microsoft.com/en-us/p/alpine-wsl/9p804crf0395

Contents

The sample provides the following functionality:

  • Alpine.exe

    • Launches the user's default shell in the user's home directory.
  • Alpine.exe install [--root]

    • Install the distribution and do not launch the shell when complete.
      • --root: Do not create a user account and leave the default user set to root.
  • Alpine.exe run <command line>

    • Run the provided command line in the current working directory. If no command line is provided, the default shell is launched.
    • Everything after run is passed to WslLaunchInteractive.
  • Alpine.exe config [setting [value]]

    • Configure settings for this distribution.
    • Settings:
      • --default-user <username>: Sets the default user to . This must be an existing user.
  • Alpine.exe help

    • Print usage information.

Getting Started (Project Participants)

  1. Clone this repository and open it with Visual Studio ( >= 2017 )
  2. Generate a test certificate.
  3. Import it to your Cert:\CurrentUser\My and Cert:\LocalMachine\TrustedPublisher as well as Cert:\LocalMachine\Root. If you have a dedicated testing VM, import the certificate only to Cert:\CurrentUser\My on your production system, or you may make yourself vulnerable to all kinds of attacks. That is the reason why you would want to protect this certificate nearly as well as a bought code signing certificate.
  4. Open DistroLauncher-Appx/MyDistro.appxmanifest, select the Packaging tab, select Choose Certificate, click the Configure Certificate drop down and select Create test certificate.
  5. Edit your distribution-specific information in DistroSpecial.h. NOTE: The DistroSpecial::Name variable must uniquely identify your distribution and cannot change from one version of your app to the next. Otherwise it will register as another distribution within WSL. If you want to have one distro twice, you would change this name.
  6. Update Alpine.appxmanifest. There are several properties that are in the manifest that will need to be updated with your specific values.
    • Make sure to note the Identity Publisher value (by default, "CN=DistroOwner"). We'll need that for testing the application.
    • Make sure that <desktop:ExecutionAlias Alias="mydistro.exe" /> is set to something that ends in ".exe". This is the command that will be used to launch your distro from the command line.

Build and Test

To help building and testing the Alpine Launcher project, there are the following scripts to automate some tasks. You can either choose to use these scripts from the command line, or work directly in Visual Studio, whatever your preference is.

Please Note some sideloading/deployment steps don't work if you mix and match Visual Studio and the command line for development. If you run into errors while trying to deploy your app after already deploying it once, the easiest step is usually just to uninstall the previously sideloaded version and try again. By right-clicking the App and selecting "Uninstall", if WSL is still installed, but the app is not, just run wslconfig.exe /u Alpine.

Setting up your Windows Environment

You will need a Windows environment to test that your app installs and works as expected. To set up a Windows environment for testing you can follow the steps from the Windows Dev Center.

Note: If you are using Hyper-V you can use the new VM gallery to easily spin up a Windows instance.

Building Project (Command line):

To compile the project, you can simply type .\build.bat in the root of the project to use MSBuild to build the solution. This is useful for verifying that your application compiles. It will also build an appx for you to sideload on your dev machine for testing.

build.bat assumes that MSBuild is installed at one of the following paths: %ProgramFiles*%\MSBuild\14.0\bin\msbuild.exe or %ProgramFiles*%\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\msbuild.exe or %ProgramFiles*%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe.

If that's not the case, then you will need to modify that script.

Once you've completed the build, the packaged appx should be placed in the directory Alpine-DistroLauncher\x64\Debug\DistroLauncher-Appx and should be named something like DistroLauncher-Appx_1.0.0.0_x64_Debug.appx. Simply double click that appx file to open the sideloading dialog.

You can also use the PowerShell cmdlet Add-AppxPackage to register your appx:

powershell Add-AppxPackage x64\Debug\DistroLauncher-Appx\DistroLauncher-Appx_1.0.0.0_x64_Debug.appx

Building Project (Visual Studio):

You can also easily build and deploy the distro launcher from Visual Studio. To sideload your appx on your machine for testing, all you need to do is right-click on the "Solution (DistroLauncher)" in the Solution Explorer and click "Deploy Solution". This should build the project and sideload it automatically for testing.

NOTE: In order run your solution under the Visual Studio debugger, you will need to manually unregister it via wslconfig.exe /u Alpine.

Testing

You should now have a finished appx sideloaded on your machine for testing.

But before you do that, make sure you've enabled Developer Mode in the Settings app (sideloading won't work without it). Then double click on the signed appx and click "Install" to install it. Note that this only installed the appx on your system, but it doesn't unzip the tar.gz or register the distro yet.

You can then begin the distro registration by launching the app from the Start Menu or executing Alpine from the command line. Or just select "Start after installation" while installing.

Publishing

Once you are ready to upload your appx to the store, you will need to change a few small things to prepare the appx for the store.

  1. In the appxmanifest, you will need to change the values of the Identity to match the value given to you by the store. This should look like the following:
<Identity Name="1234YourCompanyName.YourAppName"
          Version="1.0.1.0"
          Publisher="CN=12345678-045C-ABCD-1234-ABCDEF987654"
          ProcessorArchitecture="x64" />

NOTE: Visual Studio can update this for you. You can do that by right-clicking on "DistroLauncher-Appx (Universal Windows)" in the solution explorer and clicking on "Store... Associate App with the Store..." and following the wizard.

  1. You will either need to run .\build.bat rel from the command line to generate the Release version of your appx or use Visual Studio directly to upload your package to the store. You can do this by right-clicking on "DistroLauncher-Appx (Universal Windows)" in the solution explorer and clicking on "Store... Create App Packages..." and following the wizard.

Also, make sure to check out the Notes for uploading to the Store page on our wiki for more information.

Issues & Contact

Any bugs or problems discovered with the Launcher should be filed in this project's Issues list.

Contributing

Base Project

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

wsl-distrolauncher-alpine's People

Contributors

agowa avatar bitcrazed avatar clpo13 avatar el-virus avatar ionicabizau avatar kaozaza2 avatar ls-fcefyn avatar microsoftopensource avatar miniksa avatar msftgits avatar saijin-naib avatar stengerh avatar sundhaug92 avatar tara-raj avatar zadjii-msft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wsl-distrolauncher-alpine's Issues

Unable to install zsh-pcre

I'm not sure if this is the right place to ask, but I'm getting this error when I try to load a script with things like [[ $var =~ pattern ]]:

failed to load module `zsh/pcre': Error loading shared library /usr/lib/zsh/5.8.1/zsh/pcre.so: No such file or directory
-pcre-match not available for regex

I tried installing pcre, pcre2, reinstalling zsh, but the error persists. I believe I need to install zsh-pcre but for some reason this package isn't available:

% sudo apk add zsh-pcre
ERROR: unable to select packages:
  zsh-pcre (no such package):
    required by: world[zsh-pcre]

Is there something different about Alpine WSL that prevents installing packages from the main Alpine package repo?

Root password

I previously installed this and noted the password for su was empty. Today I installed it again from the store and the password seems to be set to something out of the box. I have tried resetting the app, but I have still not been able to access root. /etc/passwd shows that both root and my user account have passwords set, though I was never prompted for either

Can an exe copy be provided here on github plz thx!

My company has blocked microsoft store because you can install anything I guess and they don't allow that.

We as devs are admins however and can install with installers. Could they be uploaded here as well? thanks!

install apache

I need to install apache on it, so when I do "apk update "
I have this message

ERROR: Unable to lock database: Permission denied
ERROR: Failed to open apk database: Permission denied

when I change to root by su root need a password i don't know what is the default password

Bugfixing command failed but install succeeds

Temporary directory: C:\Users\zenobius\AppData\Local\Temp\wsl_Alpine_setup
Downloading   : http://dl-cdn.alpinelinux.org/alpine/v3.9/releases/x86_64/alpine-minirootfs-3.9.0-x86_64.tar.gz
To local file : install.tar.gz
The current working directory is: C:\Users\zenobius\AppData\Local\Temp\wsl_Alpine_setup
File successfully deleted
Mime type available
Begin download
Cache filename available
100% [====================]
End download
Downloaded OK
Hash of file install.tar.gz is: f82efed1a80c9af86c38bed10f3541c5588453b97684d767a5a3b0f3fa0e3f09

Verifying Hash: OK
Installing, this may take a few minutes...
Executing bugfixing command: /bin/chmod 755 /
Executing bugfixing command: /sbin/apk --no-cache add shadow
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz: temporary error (try again later)
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz: temporary error (try again later)
ERROR: unsatisfiable constraints:
  shadow (missing):
    required by: world[shadow]
Bugfixing command failed.


==== MANUAL STEP ====
If you're on Windows 10 1803 17134, manually execute this/these command(s), NOW:
Or upgrade to the latest version of windows 10
/bin/chmod 755 /
/sbin/apk --no-cache add shadow
/bin/sed -i 's/^export PATH/#export PATH/' /etc/profile

Also you need to provide a /bin/bash executable to use bash.exe from Windows.
Either by symlinking any other shell to /bin/bash or by installing bash.
If you want to change the default user (after you created one), run:
Alpine.exe /config --default-user <username>
== // MANUAL STEP // ==
Installation successful!

alpine linux not building

download screen:

Temporary directory: C:\Users\LOLLIP~1\AppData\Local\Temp\wsl_Alpine_setup
Downloading   : https://dl-cdn.alpinelinux.org/alpine/v3.13/releases/x86_64/alpine-minirootfs-3.13.4-x86_64.tar.gz
To local file : install.tar.gz
The current working directory is: C:\Users\LOLLIP~1\AppData\Local\Temp\wsl_Alpine_setup
File successfully deleted
Mime type available
Begin download
Cache filename available
100% [====================]
End download
Downloaded OK
Hash of file install.tar.gz is: 8e21c85c4a5bb406180136aa03f814c56ffc7498ba7886c5ea13fec92d528ead

Verifying Hash: OK
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370102
WslRegisterDistribution failed
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.
Press any key to continue...

Windows Subsystem for Linux is on.

Not enough rights for default user created

During installation a new user is created. The readme says that this user is added to adm & wheel group etc.
However when I start wsl I do not have enough rights to do basic things like apk update. The password of the root user is unknown. How do I get in?

Unauthorized use of Alpine name and branding assets

As discussed on the Alpine bug, your use of Alpine name and branding assets are not allowed.

It is, of course, also our belief that the current image downloading scheme attempts to evade the GPLv2 section 6 requirements used by several core system components.

You will cease and desist using the Alpine name and branding assets, as well as supplying the GPLv2 base image components in conjunction with any present Windows Store applications.

No passwd on root user.

I had to use "mkpasswd --method=md5" to generate a hash and then put it into shadow files from windows. The installer should ask for at least root password change on the first install, since you guys don't use sudo.

WSLRegDistro Failed

Took a look at it in dmesg to see what is actaully failing.

[    1.764575] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    1.816979] init: (1) ERROR: ConfigApplyWindowsLibPath:2402: open /etc/ld.so.conf.d/ld.wsl.conf
[    1.816987]  failed 2
[    1.825387] init: (2) ERROR: UtilCreateProcessAndWait:636: /bin/mount failed with 8
[    1.826027] init: (1) ERROR: UtilCreateProcessAndWait:656: /bin/mount failed with status 0x
[    1.826031] ff00
[    1.826049] init: (1) ERROR: ConfigMountFsTab:2457: Processing fstab with mount -a failed.
[    1.830380] init: (3) ERROR: UtilCreateProcessAndWait:636: /bin/mount failed with 8
[    1.831004] init: (1) ERROR: UtilCreateProcessAndWait:656: /bin/mount failed with status 0x
[    1.831008] ff00
[    1.837920] WARNING: /usr/share/zoneinfo/America/New_York not found. Is the tzdata package installed?
[    1.862365] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\WINDOWS\system32

[    1.862612] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\WINDOWS
[    1.862815] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\WINDOWS\System32\Wbem

[    1.863021] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\WINDOWS\System32\WindowsPowerShell\v1.0\

[    1.863297] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\WINDOWS\System32\OpenSSH\

[    1.863509] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\Program Files\Microsoft VS Code\bin

[    1.863720] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\Users\Bytor\AppData\Local\Programs\Python\Python39\Scripts\

[    1.863925] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\Users\Bytor\AppData\Local\Programs\Python\Python39\

[    1.864129] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\Users\Bytor\AppData\Local\Microsoft\WindowsApps

[    1.867360] init: (9) ERROR: CreateProcessEntryCommon:606: execvpe /bin/ash failed 8
[    1.867369] init: (9) ERROR: CreateProcessEntryCommon:616: Create process not expected to return
[   13.946328] blk_update_request: I/O error, dev sdb, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[   13.947488] sd 0:0:0:1: [sdb] Synchronizing SCSI cache
[   13.985665] Buffer I/O error on dev sdb, logical block 33521664, lost sync page write
[   13.985669] JBD2: Error -5 detected when updating journal superblock for sdb-8.
[   13.985669] Aborting journal on device sdb-8.
[   13.985670] Buffer I/O error on dev sdb, logical block 33521664, lost sync page write
[   13.985671] JBD2: Error -5 detected when updating journal superblock for sdb-8.
[   41.873601] scsi 0:0:0:1: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[   41.874447] sd 0:0:0:1: Attached scsi generic sg1 type 0
[   41.876126] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[   41.876132] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[   41.876409] sd 0:0:0:1: [sdb] Write Protect is off
[   41.876414] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[   41.876876] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   41.883473] sd 0:0:0:1: [sdb] Attached SCSI disk
[   41.896195] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered

found this. Says it mounted but had loads of errors with access and locations in the fs.
Is there a workaround for this. give Error of access denied.

Fixed. Got a mini rootfs from alpine linux site for my arch and it seems to work just fine after manual mount/import. using alpine.exe after works as expected.

can't run docker-compose because libz.so.1 doesn't like something about `/tmp`

docker-compose
docker-compose: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

Attempts to fix it

  1. do something about /tmp
    outcome: doesn't work
sudo mount /tmp -o remount,exec
[sudo] password for zenobius:
mount: /tmp: mount point not mounted or bad option.
  1. try telling docker-compose to use another tmp directory:
    outcome: doesn't work
  1. completely remove docker and the alpine-pkg-glibc and just use standard alpine docker packages:
    outcome: works
sudo apk del dockersudo apk del glibcsudo rm /usr/local/bin/docker-compose*sudo apk add --update docker
...docker system info | grep "Operating System"
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Operating System: Docker Desktopsudo pip3 install docker-compose --force-reinstall
...

info

Installed docker via this process:

and:

$ sudo apk add --update docker

Investigation efforts:

cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.9.0
PRETTY_NAME="Alpine Linux v3.9"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"

User management

I just installed this in wsl1
And it makes me a user, but that user doesn't have the rights to run apk.

DESKTOP-DLHGUJ6:/mnt/c/Users/Sean/Documents/VSCODE$ apk update
ERROR: Unable to lock database: Permission denied    
ERROR: Failed to open apk database: Permission denied

Its annoying to have to su all the time. Is there a way to make the default user it creates have more permissions?
I googled it but could seem to make it work.

iusse for install mongodb

alpine v3.9
mongodb v4.0.5-r0

awk: /etc/network/interfaces:No such file or directory

  • ERROR: networking failed to start
  • ERROR: cannot start mongodb as networking wuld not start

Link to the Store app

I see no mention of the Store app. I think it would be useful to add it as the GitHub project website URL (next to the description) and in the README.

Btw, superb job! Got it running in Windows Terminal (command: Alpine.exe) + WSL 1 (build 18950). The installer even told me when I didn't have WSL enabled. Now working like a charm 👌

EDIT: Also working in WSL 2. Blazing fast ⚡️ x12 faster in a simple CPU-bound single-threaded script, wow!

Start Postgres server in WSL

I've installed postgresql using the su -c "apk install postgresql" but I cannot seem to get it to install. I tried installing openrc, but it gives me some scary warnings about it not having much control over boot (as it's not a normal boot iirc?).

Any tips for running "normal" services appreciated

Error after attempting reinstall of Alpine WSL after App Reset

Temporary directory: C:\Users\USERNAME\AppData\Local\Temp\wsl_Alpine_setup
Downloading : http://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86_64/alpine-minirootfs-3.10.0-x86_64.tar.gz
To local file : install.tar.gz
The current working directory is: C:\Users\USERNAME\AppData\Local\Temp\wsl_Alpine_setup
File successfully deleted
Status code : 32
Finding resource...
Connecting...
Sending request...
Mime type available
Begin download
Cache filename available
100% [====================]
End download
Downloaded OK
Hash of file install.tar.gz is: ec3da7fb5f709a1ce912e6e31fccc5588420c5f1dcecc362c72c989532c1917a

Verifying Hash: OK
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070057
WslRegisterDistribution failed
Error: 0x80070057 The parameter is incorrect.

Press any key to continue...

image

pre-built appx

hello,

for systems without access to the Windows Store (e.g. Windows 10 LTSC, Windows Server) it would be helpful to provide a downloadable appx as a release asset. the alternatives are a bit of a hassle: either extracting the appx from the store manually or building it locally.

i appreciate that most people are probably using WSL on the desktop, so this isn't a huge issue - more of a nice to have if it's not too much effort.

Alpine install fail

PS C:\Users\username> systeminfo | Select-String "^OS Name","^OS Version"

OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.16299 N/A Build 16299


C:\Windows\System32>Alpine.exe install
Temporary directory: C:\Users\username\AppData\Local\Temp\wsl_Alpine_setup
Downloading : http://dl-cdn.alpinelinux.org/alpine/v3.9/releases/x86_64/alpine-minirootfs-3.9.0-x86_64.tar.gz
To local file : install.tar.gz
The current working directory is: C:\Users\username\AppData\Local\Temp\wsl_Alpine_setup
File successfully deleted
Mime type available
Begin download
Cache filename available
100% [====================]
End download
Downloaded OK
Hash of file install.tar.gz is: f82efed1a80c9af86c38bed10f3541c5588453b97684d767a5a3b0f3fa0e3f09

Verifying Hash: OK
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007007b
WslRegisterDistribution failed
Error: 0x8007007b The filename, directory name, or volume label syntax is incorrect.

Umbrella Alpine Wsl2 and Docker-For-Win

Recently affected by a fatal bug released in a Window Insiders and Docker Desktop Edge caused me to react by wiping my prevous Alpine WSL setup and reinstalling.

Upon reinstall, I had to revisit a few of the problems getting docker-for-win and alpine wsl2 working properly.

Starting some notes here:

how to set default user

How to set a default user after export and import?

Steps:

wsl --export alpine d:\wsl\custom-alpine.tar
wsl --import custom-alpine d:\wsl\ d:\wsl\custom-alpine.tar

Error

I tried to use wsl -d custom-alpine config --set-default-user bosss
but I get /bin/ash: config: Permission denied.

Windows Store is still on 3.11

Hi, I downloaded this from the windows store recently, and it's still on 3.11.

Not sure if you are the one maintaining that package or not :)

0x80070005 Access is denied (download was from store, then "Launch")

Downloading : https://dl-cdn.alpinelinux.org/alpine/v3.13/releases/x86_64/alpine-minirootfs-3.13.4-x86_64.tar.gz
To local file : install.tar.gz
The current working directory is: C:\Users\almo\AppData\Local\Temp\wsl_Alpine_setup
File successfully deleted
Mime type available
Begin download
Cache filename available
100% [====================]
End download
Downloaded OK
Hash of file install.tar.gz is: 8e21c85c4a5bb406180136aa03f814c56ffc7498ba7886c5ea13fec92d528ead

Verifying Hash: OK
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070005
WslRegisterDistribution failed
Error: 0x80070005 Access is denied.

Press any key to continue...

Change to Alpine 3.15

Is there anyway to 3.15 out of the box instead manually upgrade from 3.13, 3.14 to 3.15?

Thank you

Upgrade to 3.13 without waiting for MS Store update?

Currently the Alpine version shipped on the Microsoft Store is on 3.12.1. Not only is that 3 patch versions out of date, a v3.13 branch has been around for 2 months now.

This repository seems to be up-to-date, updating its internal files to get the latest 3.13 patch barely a day after official release. But the store page has not been updated at all.

Is there a way to update the Alpine version in my WSL without waiting for the packaged version in the store to be updated? Preferably without setting up a C++ building environment.

If not, let this issue be a friendly nudge to update the Microsoft Store distribution. I would like to grab some packages currently shipped only in the 3.13 repository without risking them requiring something 3.12 cannot support. Thanks for the hard work!

default-user not working

Hi,

Thank you for your work.
On my side I can't change the default-user.
User has first been created in the WSL and I can switch from root to him by using "su - bob" for example.

If I set the default user as described in the command usage:
alpine config --default-user bob

There is no stdout/stderr.

When I relaunch Alpine I'm still root.

Windows version:
`systeminfo | Select-String "^OS Name","^OS Version"

OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.17134 N/A Build 17134
`
Alpine version : latest available from the windows store

Thanks for your help

License for checksum functions?

Hi, thanks for this project. To me, this is the best WSL-DistroLauncher fork. Great job.

My question is: what is the license of the Checksum Verify functions? I'd like to add them to my fork, but there is no license or copyright info.

Thanks!

A question about reinstallation

Suppose I reinstall Windows now and want to continue using the old apline. How do I re-register and configure the distribution as the default?

Free trial status in Microsoft Store

Why this wsl launcher currently published as app with trial period?

alpine-wsl-free-trial

It's seems little weird for fork of opensource project... Or it's planned to convert this launcher to be paid product in the future?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.