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”?
Any new thoughts on this? I’m having the same experience, with very poor performance on macOS.
FWIW, I just tested on Windows, and it does seem that file system plays a massive role. I recently deployed on Windows 10, first directly to windows and then in a WSL2 Ubuntu container. The difference was absolutely enormous.