Bluefin-cli for WSL
The Dockerfile contains the following options:
- Variable
USERNAMEis the username to use for the image. Default isuser. - Variable
PASSWORDis the password to use for the image. Default isuser. - Variable
USER_UIDis the user id to use for the image. Default is1000. - Variable
USER_GIDis the group id to use for the image. Default is1000. - Copy the
wsl.conffile to/etc/wsl.confto set the default user and enablessystemd. - Copy the
extra-packagesfile to/extra-packagesto install extra packages.
To build the image with all defaults, run the following command:
docker build --output type=tar,dest=wolfiblue.tar .The file generated from the docker build command can be imported into WSL using the following command:
wsl --import wolfiblue $env:USERPROFILE/wolfiblue wolfiblue.tar --version 2Note: The path used in the
--importcommand must be a Windows path. Note: The--version 2is required to enablesystemd.