As far as I know, docker for mac isn't actually usable for dev work if you use mounted volumes. Basically it pegs CPU and makes disk access 10-150 times slower than native which makes mounted volumes impossibly slow. A personal example would be building a jar on a macbook native took 11 seconds, takes docker for mac 9 minutes. See https://github.com/docker/for-mac/issues/77https://github.com/docker/for-mac/issues/668 and a slew of other reports that can all be traced back mounted volume performance.
Moral of the story I moved to linux.