2023-10-01, 09:00 AM
Quote:Also I think by not using a uid:guid option I am using a privileged user(root) as the jellyfin documentation says.
Misconception of what the documentation is trying to say. Setting the G/UID means the container interacts with files on your system as that user. It doesn't have all the same permissions as that user, but it acts as that user but proxy. So if you leave out the G/UID your volumes will appear to be owned by root/root which is not what you want (should be a service user or a well-secured non-root user).
Setting the container as privileged essentially removes the walls around the container and allows it to interact with the rest of the system. It's dangerous to run a container as privileged all the time (big generalization) but necessary or easier in some cases. Privileged flag very different from setting G/UID. One is like NFS squash, the other is the keys to the host OS, kernel, and hardware.
Jellyfin 10.10.5 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage