Jump to content

Docker user chown question


Go to solution Solved by alucryd,

Recommended Posts

Posted

@Luke

 

Another issue that I might spring it on you, your docker are changing "emby/config" chwon to BIN.

"emby/config" is setup as 1000:1000 (User). Whenever I use your docker, it changes to BIN user every single time

Maybe its intended? idk.

Posted
1 minute ago, Luke said:

Cool, its no big deal actually since it still works.

 

Just that my

docker compose file = 1000:1000 (user)

emby/config folder = user (ls -l to check) 

 

After running your beta, emby/config (ls -l) changes to (BIN) user.

Posted

Before

image.png.0b4b48065245ab51695c366fcfab3832.png

 

After running docker-compose,

image.png.40e78e822a3882c83bf57fb18b6005b5.png

 

Docker compose env,

image.png.64f22e41865657db34280f35a1be4d28.png

Posted

Thanks for the info. I've passed this along to our package developer so that he can comment on it. 

  • Like 1
alucryd
Posted

@gokuz Where are you running the ls command? On the host machine or in the docker container? The container has no idea what your host users are, 1000:1000 inside the container is probably just bin:bin, so there's nothing to worry about. I can check later what 1000:1000 is here if needed.

Posted
31 minutes ago, alucryd said:

@gokuz Where are you running the ls command? On the host machine or in the docker container? The container has no idea what your host users are, 1000:1000 inside the container is probably just bin:bin, so there's nothing to worry about. I can check later what 1000:1000 is here if needed.

On the host machine. 

Yea it still works but I noticed this anomaly when i switched to/from linuxserver's emby docker.

Their docker didn't change user so I found it weird yours does.

  • Solution
alucryd
Posted

We chown to allow people to quickly switch the user they want it running as and make sure the config is writable.

In any case, I just realized what's going on. You're using PUID and PGID variables, when we want UID and GID, please refer to our documentation: https://hub.docker.com/r/emby/embyserver

  • Like 1
Posted
19 minutes ago, alucryd said:

We chown to allow people to quickly switch the user they want it running as and make sure the config is writable.

In any case, I just realized what's going on. You're using PUID and PGID variables, when we want UID and GID, please refer to our documentation: https://hub.docker.com/r/emby/embyserver

TIL, uid is different than puid.

But I do not have UID setup. Guess its a fluke lol. Thanks, solved.

alucryd
Posted

If you don't specify it, it defaults to 2:2, I thought this was daemon:daemon almost everywhere, but I guess it's bin:bin on your distro (on mine bin:bin is 1:1).

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...