Closed crypdick closed 4 years ago
Unfortunately no, the image is built on top of php:apache
docker image. In the image, PHP is run under www-data
user (UID: 33
).
I would have a guess that you were using bind mount instead of docker volume. Is that the case? Usually, the issue you're having is caused by the fact that the directory that you bind mounted into the container under /var/www/html/images
. Please try to set up the permission on that directory beforehand and it should work. An alternative is to use a Docker volume instead of bind mount and it should work.
Cheers.
Ty for creating this image. After launching this image, the webpage says it doesn't have write permissions to the persistent volume. Is there a way to set the PUID and PGID?