-
Notifications
You must be signed in to change notification settings - Fork 104
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
Not syncing files properly in High Sierra #79
Comments
@rabdulhaq can you test if you have the issue too without NFS? Maybe it's a docker-machine/boot2docker/virtualbox issue? |
Without docker-machine-nfs, Docker works fine but slow of course. |
@rabdulhaq Seems an issue with NFS from an APFS volume |
Yes definitely. I was hoping you guys can maybe have a workaround for that issue. |
@rabdulhaq nobody at the company is running High Sierra currently so it will be hard to fix ;) However if you find some time, contributions are always welcome :) |
@rabdulhaq These mount options helped for me: |
@ctrlrsf, I tried doing that but I get the "Cannot detect the NFS mount :(" error with these options. Thank you! |
Modifying my /var/lib/boot2docker/bootlocal.sh to this seems to have worked: sudo mount -t nfs -o nolock,vers=3,tcp,rw,noatime :/Users /Users Worked fine for me. Notice the lack of 'fsc' because the boot2docker NFS client doesn't seem to support it. But i've had no problems since. Good to be back on NFS! |
@ckortekaas, this did not work either :( |
As mentioned on the referenced issues, High Sierra 10.13.2 Beta 2 solves the issue. |
I updated to High Sierra 10.3.2 Beta 3 (Build 17C76a) and it seems to solve the problem. |
I can also confirm that updating to Public Beta 3 (Build 17C67b) solved the problem. |
I have the same issue on macOS High Sierra (build 17B48). |
problem still exists on beta 10.13.3 (17D20a) The problem manifests itself with the file that has just been edited. After a while he appears in the docker-machine Error immediatly after change file: |
Hello guys, We have currently one colleague who (mistakenly) upgraded to high sierra, but does not have any NFS issues. He's currently on version 10.13.1 (17B1003) and has following configuration: In
In bootlocal.sh (
And last but not least, it's a php project. Not sure why some have problems, why with others it works. Maybe this can shed some lights. Cheers |
Same problems here, some files are missing with High Sierra |
My OSX version 10.13.2 When I edited a file on Host.
it will display
I must wait a while then it can be accessed but if I ls the folder like
it will directly display the file info
and then everything will be ok
|
Solution (in my case) I changed mount options to async,noatime,actimeo=1,nolock,vers=3,udp: echo "" | sudo tee /etc/exports
docker-machine-nfs default --mount-opts="async,noatime,actimeo=1,nolock,vers=3,udp" -f Additional info:
|
I migrated to 10.13.2 (17C88), and did not encounter any issues ... |
I believe we can close this topic. I guess, either you never had the issue, or you were able to solve it with @xxxcoltxxx solutions using following mount options (--mount opts="async,noatime,actimeo=1,nolock,vers=3,udp") |
it works with v18.06.1-ce. On the newest 18 versions and 19.* sync doesn't work. Just use |
After updating to High Sierra, files are not syncing/mounting properly. Some files are missing and others are duplicated.
The text was updated successfully, but these errors were encountered: