Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails when the volume is mounted readonly #162

Open
nedix opened this issue Mar 29, 2022 · 0 comments
Open

Fails when the volume is mounted readonly #162

nedix opened this issue Mar 29, 2022 · 0 comments

Comments

@nedix
Copy link

nedix commented Mar 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant