Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL Bugs #379

Open
osterman opened this issue Feb 8, 2019 · 0 comments
Open

WSL Bugs #379

osterman opened this issue Feb 8, 2019 · 0 comments

Comments

@osterman
Copy link
Member

osterman commented Feb 8, 2019

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:

  1. DOCKER_NAME was using $NAME environment variable. For me $NAME was all caps and docker complained that name must be all lowercase
  2. 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 wrong mount_path
  1. In docker run command that gets generated from the script you have --name parameter twice

  2. In docker run command that gets generated from the script you need quotes around the argument for --volume

    e.g. --volume="path/to/volume" instead of --volume=path/to/volume

    My volume path had spaces so without it would take wrong path

leb4r pushed a commit that referenced this issue Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant