Docker containers have issues when it comes to mounted volumes shared with the host, especially when it comes to user/directory permissions. Laravel requires that the storage and bootstrap/cache directories are writable, but because those directories are being shared between the host and php container, there are issues. The ./install command sets the permissions to 777 initially so Laravel can get up and running in the first place, but running an artisan command like php artisan make:auth will cause Laravel to break. Contributions to this repository attempting to fix this problem will be very welcome.
Docker containers have issues when it comes to mounted volumes shared with the host, especially when it comes to user/directory permissions. Laravel requires that the storage and bootstrap/cache directories are writable, but because those directories are being shared between the host and php container, there are issues. The
./install
command sets the permissions to 777 initially so Laravel can get up and running in the first place, but running an artisan command likephp artisan make:auth
will cause Laravel to break. Contributions to this repository attempting to fix this problem will be very welcome.