I am getting an error while installing Laravel in Docker.
I followed the instruction from
I am trying to install Laravel 9 in the docker but is facing error while installing it.
Taking 2 hours to complete this build
CodePudding user response:
You are missing the WWWGROUP env-variable in your host environment, so the docker container will not be able to map your host group to your container group.
add the following 2 variables to your .env file:
WWWGROUP=1000
WWWUSER=1000
(if you have other ids in your O/S), then replace 1000
with correct ID for the group and user you wish to use.
On ubuntu you can check this with following command:
$ id [username]