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

Mount volume with :delegated or :cached param #9

Open
ColinFay opened this issue Jan 18, 2021 · 0 comments
Open

Mount volume with :delegated or :cached param #9

ColinFay opened this issue Jan 18, 2021 · 0 comments
Assignees

Comments

@ColinFay
Copy link
Member

Docker on Mac can be slow if you're using volumes that have a heavy I/O — which is the case of RStudio dot config file and renv cache, which are either written or read on a regular basis, making RStudio very slow to respond after a few minutes of usage.

See docker/for-mac#2707 and a lot of other articles on the internet :)

The current workaround is to mount the volume as delegated or as cached:

https://tkacz.pro/docker-volumes-cached-vs-delegated/

My view is that the delegated strategy would be the best, but that's a personal preference.

Might be worth adding an option for non Linux user :)

@statnmap statnmap self-assigned this Jan 30, 2021
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

2 participants