Famous issue 77 have some news, finally!

Here is the magic to your docker-compose.yml that brings speed to big PHP projects like Drupal or Wordpress

services:

php:
 build: ./php
 container_name: dev-php
 volumes:
 - ~/workspace:/workspace:<strong>rw,cached</strong>

Issue link https://github.com/docker/for-mac/issues/77