Try ERPNext Buy Support Partners Foundation

Docker tuning for MacOS

We use the development environment described in Official Docker Updates 2020. However, it runs very slow on MacOS (much faster on Ubuntu).

This is a known issue caused by the different file systems. This site suggests to mount the volumes managed by the host as cached and the volumes managed by the container as delegated. Therefore, I’d like to mark everything inside frappe_docker’s development folder as delegated.

It seems like the whole frappe_docker directory is mounted in /workspace, but cached not delegated. @revant_one could you give a hint how to separate the volumes based on “managed by host” and “managed by container”?

I followed the devcontainer guide, everywhere it was “cached

there is a section for mac here:

Can you try out things on your mac? Please send PR which will not break other platforms and solve issue for MacOS.

1 Like

@dfermiumlabs did you manage to fix this? The instructions from vscode didn’t work for us.