Search code examples
dockerdocker-composedockerfileboot2docker

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


Solution

  • chown -R www-data:www-data /var/www/html