geodesic
geodesic copied to clipboard
WSL Bugs
what
- Not working on some WSL environments
Here is a list of the changes I had to make to get root.cloud.posse script to run on WSL:
In root.*.com:
-
DOCKER_NAMEwas using$NAMEenvironment variable. For me$NAMEwas all caps and docker complained that name must be all lowercase - On lines 112-116 of root.*.com you have
for dir in $mount_path/c/Users/${windows_user_name}/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu*; do
folder_name=$(basename ${dir})
local_home=${user_local_app_data}/Packages/${folder_name}/LocalState/rootfs${HOME}
break
done
- for me
${windows_user_name}contained spaces, which led to wrongmount_path
-
In docker run command that gets generated from the script you have
--nameparameter twice -
In docker run command that gets generated from the script you need quotes around the argument for
--volumee.g.
--volume="path/to/volume"instead of--volume=path/to/volumeMy volume path had spaces so without it would take wrong path