2024-09-17, 08:53 PM
(This post was last modified: 2024-09-17, 08:53 PM by TheDreadPirate.)
The "user" parameter only controls what user the container runs as. And that user only needs permissions to writeable portions of the container, /config and /cache. The rest of the container is, essentially, read-only to whatever user is defined.
I tested with the Linuxserver image of Jellyfin, since it uses PUID and PGID environment variables, but I wasn't able to get the namo plugin to overwrite index.html.
You could explore having docker run post startup scripts/commands. But I'm not certain when during the startup process those run. Whether they run when the container starts, but before Jellyfin finishes starting, etc.
I tested with the Linuxserver image of Jellyfin, since it uses PUID and PGID environment variables, but I wasn't able to get the namo plugin to overwrite index.html.
You could explore having docker run post startup scripts/commands. But I'm not certain when during the startup process those run. Whether they run when the container starts, but before Jellyfin finishes starting, etc.