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 support of bubblewrap #272

Closed
mprevot opened this issue Jun 8, 2018 · 3 comments
Closed

WSL support of bubblewrap #272

mprevot opened this issue Jun 8, 2018 · 3 comments

Comments

@mprevot
Copy link

mprevot commented Jun 8, 2018

To date, bubble wrap doesn't work on WSL.

Could a bubblewrap developer enumerate things needed to have it work ? so we make a feature request at MSFT.

Regards

@mwleeds
Copy link
Contributor

mwleeds commented Oct 23, 2018

possibly relevant to this: https://blogs.gnome.org/alexl/2018/09/17/flatpak-on-windows/

@aaruni96
Copy link

aaruni96 commented Nov 8, 2023

As of bubblewrap 0.8.0 / WSL2 / Windows 10 (22H2, released in November 2022), this seems to not be a problem anymore ?
All tests appear to pass, and at least in my use cases, things seem to work without problems.

@smcv
Copy link
Collaborator

smcv commented Nov 9, 2023

My understanding is that WSL2 is a virtual machine running an actual Linux kernel, so most syscalls should work correctly in WSL2.

Conversely, WSL1 was like Wine in reverse, implementing a subset of Linux syscalls on the Windows kernel, which means it will probably never support running namespace-based tools like bubblewrap.

If bubblewrap works in WSL2, I think we can close this as "not going to happen" for WSL1: it is not up to the bubblewrap maintainers whether WSL1 implements the syscalls that bubblewrap makes.

Could a bubblewrap developer enumerate things needed to have it work ? so we make a feature request at MSFT

If someone wants this, please see the source code for details. (It isn't actually very large.)

@smcv smcv closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2023
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

4 participants