Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Should I create a new UID for each Docker?

Featured Replies

I am fairly new to Unraid and currently exploring around Unraid, and I am planning to start a new fresh start since I think I might screw up something like Array Disk showing in UD, stopping array for long time, sudden miss of Dockers...

 

To the point of the topic, I would like to know that should I create a new user for every single Docker for any particular reason? I understand that the concept of UID and GID comes from Linux, but I am not able to find any tutorials regarding the setting of UID (and even GID) even the settings are there for some of the dockers. Most of them are default to 'nobody' 99, but I am not sure if this will raise any security issue and would like to know what is the best practice of handling these UID and GID in dockers?

 

My current setting(though I am going to start a fresh setup of Unraid) is a new user for a new docker. For example, I would create a user named "bt" for qbittorrent, "jdownloader" for jDownloader2, etc..

 

Please advise, thanks!

  • Community Expert

It is not normal to create any specific user for a docker as this is handled internally within the docker container and is set up by the container author.    Users are therefore NOT normally set up at the Unraid level to support docker containers.

  • Author
6 hours ago, itimpi said:

It is not normal to create any specific user for a docker as this is handled internally within the docker container and is set up by the container author.    Users are therefore NOT normally set up at the Unraid level to support docker containers.

Thanks for your reply. So what is the point of letting user to set UID and GID by themselves? Or why is this field ever exist?

So files created by the docker can have the proper ownership (user and group) set without you having to run any sort of "Fix Permissions" script with unRaid.

 

Not all systems running a docker container (Emby or Plex for instance) will have files owned by NOBODY / USERS. Not all systems will have the user mapped to UID 99 or group mapped to GID 100. Remember, dockers are not unraid specific, they can be run on other Linux systems or even Windows.

  • Author

Yea I understand this exists in Linux as well, so unless I am doing anything so specific, I will just stick to 

22 minutes ago, BRiT said:

So files created by the docker can have the proper ownership (user and group) set without you having to run any sort of "Fix Permissions" script with unRaid.

 

Not all systems running a docker container (Emby or Plex for instance) will have files owned by NOBODY / USERS. Not all systems will have the user mapped to UID 99 or group mapped to GID 100. Remember, dockers are not unraid specific, they can be run on other Linux systems or even Windows.

Yea I understand this exists in Linux as well, so unless I am doing anything so specific, I will just stick to nobody?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.