php icon indicating copy to clipboard operation
php copied to clipboard

Fails when the volume is mounted readonly

Open nedix opened this issue 3 years ago • 0 comments

I would like to mount my volume readonly but the container exits because it can't change ownership of the files.

Steps to reproduce:

$ docker run -v /home/user/www/:/var/www/html/:ro -p 9090:9000 wodby/php:8.1

Result:

chown: /var/www/html: Read-only file system

nedix avatar Mar 29 '22 17:03 nedix