12
[HELP] How can I bind mount in Docker on Mac efficiently?
(discuss.tchncs.de)
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
Depending on the Mac you're using you can set up a VM directly using a hypervisor like VirtualBox or UTM to help improve performance. However if you're trying to run a production application on a MacBook using docker you're going to have a bad time. If you're trying to performance test you're better off trying to set up a cloud instance in Amazon using Linux to get better performance
Production runs on Linux server. The problem is with development environment, I want to avoid Virtualbox as it would be an extra overhead to manage and affect DX.
Instead of using something like a bind mount you could try using a Network file share like NFS which has pretty good performance or you could use samba but performance is not its strong suit.