-
Notifications
You must be signed in to change notification settings - Fork 379
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
x11docker --share not working on WSL2 #424
Comments
Thank you for the report!
Could you please try And, for comparision: Could you try to share a subfolder of
Always use
Not a regular expression. But it tries to detect different possible ways a path can be given, e.g. as |
I've uploaded a commit that likely fixes the issue. Please try out. As I don't have a Windows test environment, I am interested in your general feedback how x11docker works for you. Please also report any issues you see. |
Thank you @mviereck , that indeed fixed the problem. I actually moved back to a *nix environment, but I switched back to WSL2 to try your change and that fixed the problem. |
FYI, I tried with:
|
I've been using x11docker from an Ubuntu host and has been working fine. Recently I tried to run it from a WSL2 setup and noticed the --share parameter is not working properly. x11docker claims the folder doesn't exist when I run something like: x11docker --share=/mnt/c . It doesn't give me an error when I do either:
a. --share=\mnt\c
b. --share=//mnt//c
but the folder isn't visible on the container.
The error I receive is:
x11docker ERROR: Option --share: File or folder does not exist:
/c
It seems that x11docker is parsing the parameter as a regular expression?
Any suggestions on how to troubleshoot this further?
Versions tried: 7.1.4-beta-3 and 7.1.3
The text was updated successfully, but these errors were encountered: