Skip to content

x11docker --share not working on WSL2 #424

@raisen

Description

@raisen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions