Skip to content

Mount volume with :delegated or :cached param #9

@ColinFay

Description

@ColinFay

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 :)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions