I have the docker container Sonarr
, which I want to run as:
- Primary user:
sonarr
(uid=3028
) - Primary group:
services
(gid=2005
)
The user is also a part of this additional groups:
media
(gid=2002
)usenet
(gid=2003
)
So what I have done in my compose is this:
sonarr:
environment:
PUID: 3028 # `sonarr` user
PGID: 2005 # `services` user
group_add:
- 2002 # Media
- 2003 # Usenet
...
But it doesn’t work for some reason. My suspicion is that linuxserver
doesn’t respect the group_add
directive?