r/OpenMediaVault • u/Radiant_Cat6873 • May 22 '26
Question OMV8 & Docker permissions
Hey everyone,
I’m following the official OMV8 guide to set up Docker Compose, and I’m running into some permission issues.
The guide says:
If you need maximum separation, you can create one user per container...
...This way, all files created by the container will belong to the jellyfin user/group, and no other container will be able to access them unless you explicitly add that container’s user to the group...
So I created a dedicated user for the Jellyfin container and configured the Docker Compose file accordingly:
environment:
- PUID=${{ uid:"jellyfin" }}
- PGID=${{ gid:"jellyfin" }}The problem is that, despite this, on first startup the container creates folders in “appdata” using the user and group defined in Services -> Compose -> Settings, not the one I created for Jellyfin.
What am I doing wrong?
3
u/nisitiiapi May 22 '26
It looks like you're trying to do some sort of bash substitution or something. YAML won't do that -- it's not a bash script.
Along the lines of what u/TheZoltan noted, you need to put in the actual user ID and group ID for the user jellyfin. You can find the IDs via cli running
id jellyfin. Then use the actual IDs given in your YAML.3
u/corelabjoe May 22 '26
This is why I just use docker compose from CLI and ignore gui.... Just adds extra layers of confusion.
Once you have your base compose setup you can run something like dockhand to have a Gui.
I love OMV as a NAS os and use the storage features in the Gui but that was for initial setup.
I've got a few docker setup guides here.
I've been running compose on OMV for several years now but always with the CLI and not the Gui tool.
1
u/TheZoltan May 22 '26
That formatting doesn't look like anything I have seen before. Does it work correctly if you just do PUID=1234 obviously using correct number.
1
u/powerofneptune Jul 14 '26
why not use global environments in the compose gui to set a variable for jellyfin
JPUID="jellyfin_id"
and then plug that into the compose file as:
PUID=${JPUID}
the same thing for PGID as well