Docker file permission php on Mac OS with docker-compose && dockerfile

I need a help about file permissions on my docker project.
I’m using docker-compose + dockerfile and I’m having a problem that my php cant write files in my projects, so I cant develope. Here is my project

https://github.com/marcoaure/my-php-docker/tree/16c1a69952ba57fb18b8de275f19ee8d3899054e

  • docker git clone during build is not cloning (and not erroring)
  • Spark hangs on authentication with a Docker Mesos cluster
  • Packer provisioning docker with chef-solo gets node name not found error
  • Error while running Jenkins in Docker
  • How to access docker daemon through the hyperkit that is launched manually?
  • Mount a host file as a data volume in docker
  • How can enable udev sync successfully in docker?
  • A way to test if processes running inside docker are on the same host
  • vagrant uses default and not that specified by provider
  • Docker: "Unknown instruction: VIRTUALENV'
  • Docker mount socket volume
  • Mounted docker volume to host directory contains only files from the last container
  • One Solution collect form web for “Docker file permission php on Mac OS with docker-compose && dockerfile”

    chown -R www-data:www-data /var/www/html
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.