We've attempted this setup a few times with Rails, but we ran into the issue that the Docker OSXFS performance for mounted volumes was too slow when working with the parts of Rails that touch many files (asset compilation for example). It made it pretty much unusable for us. I know there are some new tuning parameters https://docs.docker.com/docker-for-mac/osxfs-caching/ - we haven't tried these yet though, has anyone tried them and do they work well enough for Rails?