Fails when the volume is mounted readonly
Opened this issue · 0 comments
nedix commented
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 8080:80 wodby/apache:2.4
Result:
chown: /var/www/html: Read-only file system