[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Songkong with Docker Image - QNap UID >= 1000  XML
Forum Index -> SongKong Issues
Author Message
hudriwudri5



Joined: 11/11/2018 11:31:25
Messages: 3
Offline

Hi,

I've tried to create the docker Image - but as I saw, the user has uid=100 and groupid 101 but on my QNap (TS-1253U) the users are creatd with uid >= 1000
and gruopid >=1000.

Is it possible to implement in the docker Image to override the User with
-e PUID=nnn -e GUID=nnn

I think with this I'm able to use the image and SongKong on my NAS. It would be a great feature - not only for me - I think ;-)



paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7558
Offline

Can you give me more detail. does this stop it totally working, or is this to do with permissions on shared music folder, i.e cant you get round this by temporarily grantng write permissions to everyone ?

thanks Paul (Administrator)
hudriwudri5



Joined: 11/11/2018 11:31:25
Messages: 3
Offline

Hi paultaylor!

First of all I've enabled 'Advanced folder permissions'

I don't want to set the permissions to everybody (because my children also allowed to read the music - but I don't want that they can write - or delete)


Songkong work's, but I can't access my music folder and can't acccess the songkong folder.

I've tried several Things - my last Trial and Error was:

create a new user usr_songkong (got ID 104
create the new groups which I Need for my folder permissions
put the user into the needed Groups
edit /etc/group and added group songkong:101:usr_songkong


than I changed the id from usr_songkong with

usermod -u 100 usr_songkong


now 'id usr_songkong' show me that he is in group 101 and the other


but this also dosen't work


It would be ok for me if the docker runs under root (or something else - if I can choose the ID) - I have mor trust into the docker Image, that it doesn't make silly things, than to my childs



paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7558
Offline

Right I will raise an issue, but I will have to do some more research as Docker is quite new to me.

In the meantime if you understand Docker you could possibly create a Docker Hub account fork my build and let it build a new image.

thanks Paul (Administrator)
hudriwudri5



Joined: 11/11/2018 11:31:25
Messages: 3
Offline

I'm sorry - I'm only a "dummy" user of some docker images on my QNap.

But - thank a lot for raising the issue!... I'm looking forward to testing it.
 
Forum Index -> SongKong Issues
Go to:   
Powered by JForum 2.1.6 © JForum Team