markshust / docker-magento2-php

This image is built from the official php repository and contains PHP configurations for Magento 2.
MIT License
52 stars 61 forks source link

Sync user's id between host and container #20

Closed tikolakin closed 8 years ago

tikolakin commented 8 years ago

Hello, the issue is that creating files with www-data user in a container makes them not editable on a host. This will sync user id's and allow the www-data user's id to be configurable view environment variables in docker-compose file.

markshust commented 8 years ago

This is platform-specific, and since these are platform-agnostic images, I believe this belongs in a local customized docker image, vs. this public/community image. For example, in a linux/prod image, this issue doesn't exist as the filesystem is entirely mounted in linux.

Please correct me if I'm wrong...