mbl-35 / wslctl

Provide a single command wslctl to create, backup and manage WSL (Windows Subsystem for Linux) instances on a windows host
0 stars 1 forks source link

Default user creation error on Alpine #18

Closed mbl-35 closed 2 years ago

mbl-35 commented 2 years ago
Create wsl instance 'alpine13' (wsl-version: 2)...
/usr/sbin/adduser: unrecognized option: quiet
BusyBox v1.32.1 () multi-call binary.

Usage: adduser [OPTIONS] USER [GROUP]

Create new user, or add USER to GROUP

        -h DIR          Home directory
        -g GECOS        GECOS field
        -s SHELL        Login shell
        -G GRP          Group
        -S              Create a system user
        -D              Don't assign a password
        -H              Don't create home directory
        -u UID          User id
        -k SKEL         Skeleton directory (/etc/skel)
/bin/ash: /usr/sbin/usermod: not found
/bin/ash: /usr/bin/openssl: not found
/bin/ash: /usr/sbin/usermod: not found
* alpine13 created

wslctl version: 2.1.5

mbl-35 commented 2 years ago

And when exec to alpine instance:

wslctl exec alpine13
Connect to alpine13 ...
/bin/ash: /bin/bash: not found