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

Fix Docker mounted volume performance #4

Open
geerlingguy opened this issue Sep 24, 2016 · 4 comments
Open

Fix Docker mounted volume performance #4

geerlingguy opened this issue Sep 24, 2016 · 4 comments

Comments

@geerlingguy
Copy link
Owner

See the canonical thread, File access in mounted volumes extremely slow, CPU bound, as well as its continuation on GitHub: File access in mounted volumes extremely slow. Basically, performance on the Mac (haven't tested other environments) is abysmal for apps that require reading/writing of many or large files. Here are some interim solutions until osxfs is up to snuff:

@derimagia
Copy link

I finally found a pretty good solution to this - essentially run union in a docker container and have it sync between the mounted folder and your destination folder. I thought of this a while ago and someone used the idea here:

https://github.com/cweagans/docker-bg-sync

I made good progress on my own implementation of it where it splits everything into separate containers:
https://github.com/derimagia/docker-drupal

@geerlingguy
Copy link
Owner Author

Interesting to note the docker4drupal project is using docker-sync.

@mahnunchik
Copy link

One more solution docker/for-mac#3677 (comment)

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