3
Container writes to read-only mounted volume
Post Body
Hi there. I've got a container running r/jellyfin. My /media is mounted as a read-only volume (/media:/media:ro). Docker inspect clearly states it has no write permission. Despite that, it occurred that the jellyfin service was able to write to that said volume (.nfo files). What's wrong here? As the container is running as root, the files got created as root:root (rwrr).
Here's the answer to why this happens: https://www.reddit.com/r/docker/comments/d83fp7/subfolders_of_readonly_volume_are_writeable/f18ldrg?utm_source=share&utm_medium=web2x
Author
Account Strength
100%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
8,877
Link Karma
2,824
Comment Karma
5,760
Profile updated: 1 week ago
Posts updated: 1 year ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/docker/comm...