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
It does not work in Mac. #8
Comments
Just tested it on Mac M1 and it works. I have patched hoster.py to make it works, i have replaced:
to:
File move doesnt work with error - resource busy. This change makes operation not atomic, but it works. To make it work with modified code i have reassembled package:
Also i have allowed my user to edit hosts file:
Finally i runned modified container (/etc/hosts replaced with /private/etc/hosts, be careful):
And now it works fine. Here is my Mac
@dvddarias could u do please something with it to make your repository compatible with Mac OS? Thanks in advance. |
I have thinked about my changes in code. It doesnt change anything, except adding MacOS support. shutil.move wasnt be atomic, cuz it different filesystems (hosts file is mounted), so only way shutil can move file to differrent filesystem - copy entire contents. I guess this fix could be applied to upstream. |
@Tatikoma I'm running into this same problem and would very much like to apply your fix, but I'm too much of a Docker-newbie to follow how I would make the python change to my local setup. Do I find where the local module is located and change it in place? Do I close this repo, change it, and somehow make my local setup use that? These are both things I've not done, so I'm at a bit of a loss for how to make this happen. Would appreciate any pointers, as I'm in a situation where this library would be a massive help, if I can get it working… |
It does not work in Mac.
The text was updated successfully, but these errors were encountered: