rasodu / services

Start DLEMP server with prebuilt docker images. This is be much faster than building images from dockerfiles.
MIT License
2 stars 0 forks source link

Fix file permission issue on Linix #6

Closed rasodu closed 8 years ago

rasodu commented 8 years ago

When you create new project using instructions in README file, project files are owned by root user. This may cause your project to not start on Linux machine.

Docker container runs by default as root user. Boot2docker on Window and Mac make sure that usable permissions are applied to files when they are copied to local machine disk. Docker containers can directly run on Linux machine. They don't utilize boot2docker to run container. Therefore root user is the owner of the files that are created on volumes of containers running on Linux.

Do following to fix problem on Linux