Open nedix opened 2 years ago
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
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