-
Notifications
You must be signed in to change notification settings - Fork 15
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
Scuba on M1 #196
Comments
I use Edit: I'm fairly certain this is related to #109 |
Seems to fail with |
Can you try with |
fails with that as well |
Oh, interesting. How do you have Docker installed? I'm using Docker Desktop. |
In general, Suba is not verified to work on Mac. I don't know how Docker works on Mac these days. I don't think this has anything to do with the image being used. Look at the error message:
This makes me suspect that the bind-mounting is not working. That wouldn't surprise me, because that's where we had trouble with OSX in the past. IIRC, only certain host directories could be bind-mounted (presumably due the underlying mechanism used to share directories with the Linux VM) -- and when you specified a directory that wouldn't work, it failed silently, resulting in an empty directory. We bind-mount the I have neither the bandwidth nor a platform on which to work on this. If anyone wants to contribute, please feel free to volunteer! |
Yeah I am as well. iirc i just ran smth like |
If you want to debug this further, I suggest trying
You can copy / paste that and play around. I suspect that if you run it with If you figure it out, and can ideally point to documentation about what can(not) be bind-mounted on OSX, I would appreciate a patch to at least detect this problem, and point users at the docs where it is explained and a workaround is provided. |
yeah the directory exists but its empty. ill look into whats going on a bit. |
Okay so after some investigation its user error. It escaped me that on macs They fail with
For anyone who wants a quick and dirty fix just use |
@christheyankee Can you please elaborate? What exactly was the "user error"? How does the fact that Chances are that other Mac users are likely to run into this same problem, so anything we can do now to illuminate the problem saves future hassle for multiple people. |
@Kfeavel That is a very broad, and concerning statement. If you are aware of a particular failure mode, please open an issue. There may be some specific configuration or subset of images that do not work, but to say "Scuba does not work with Debian based images" without referring to a specific problem is potentially damaging. |
The user error is that you have to allow |
It works fine if you delete the |
Apologies, I should have clarified that this issue is specific to macOS. I should have been more specific when making my statement. |
Would either of you care to submit a PR which updates the docs to include battle-tested instructions for getting Scuba working on a Mac? Specifically:
I've never owned a Mac and it has been many years since scuba attempted to actually "support" running on a Mac, so I'm both impressed and confused that it works. If you could also clarify this for me, that'd be great: HistoryI don't know exactly how Docker on Mac works today, but back in the 2016-2017 timeframe, I believe Docker ("Desktop"?) on OSX ran a Lines 279 to 292 in 4beadf2
But eventually that one Mac user didn't care anymore, and I had no way of testing it, so I dropped support for it in a refactor leading up to Scuba 2.0: a918d44. Now if Lines 90 to 100 in b086413
Given that you guys say it works,
|
From a cursory scan of docker.com it looks like a FUSE client and server connected via Hypervisor sockets.
That would line up with what I'm seeing.
I'd be happy to do this but I think it might be better to hold off until we decide what to do about #197 since Debian is such a common choice for docker images. |
Scuba does not seem to work on the M1 macs right now.
Reproduction configuration
Expected Behavior
The text was updated successfully, but these errors were encountered: