needo37 / plex

Docker for plex
MIT License
14 stars 19 forks source link

unRaid: Privileged flag ignored? #11

Open gcleaves opened 9 years ago

gcleaves commented 9 years ago

Hi, I'm running this docker on unRaid. When installing via the web gui, I removed the privileged tick box, yet the container can see all of my partitions. That should only happen when the container runs as privileged, rright?

needo37 commented 9 years ago

I am not familiar with the privileged flag the UI sets or how it works. How it normally works is that you specify which directories you want the docker to see and where.

On Sun, Feb 15, 2015 at 7:34 AM, Geoffrey Cleaves notifications@github.com wrote:

Hi, I'm running this docker on unRaid. When installing via the web gui, I removed the privileged tick box, yet the container can see all of my partitions. That should only happen when the container runs as privileged, rright?

— Reply to this email directly or view it on GitHub https://github.com/needo37/plex/issues/11.

gcleaves commented 9 years ago

I only mapped 3 directories yet the container can see every directory on the server. This behaviour does not occur with your other docker images that I used. Your other images didn't have the Privileged flag set by default either. I'll try starting the container manually instead of through unRaids interface to see if anything changes.

On Sun, 15 Feb 2015 17:46 needo37 notifications@github.com wrote:

I am not familiar with the privileged flag the UI sets or how it works. How it normally works is that you specify which directories you want the docker to see and where.

On Sun, Feb 15, 2015 at 7:34 AM, Geoffrey Cleaves < notifications@github.com> wrote:

Hi, I'm running this docker on unRaid. When installing via the web gui, I removed the privileged tick box, yet the container can see all of my partitions. That should only happen when the container runs as privileged, rright?

— Reply to this email directly or view it on GitHub https://github.com/needo37/plex/issues/11.

— Reply to this email directly or view it on GitHub https://github.com/needo37/plex/issues/11#issuecomment-74424986.

gcleaves commented 9 years ago

I tried starting the docker image with and without the --priviledged flag and didn't see any difference so I must be mistaken about its behaviour.

What surprises me about this image is that when adding media folders in Plex Server, all of the unRaid HOST'S volumes appear: /disk1, /user, etc, even though I did not map them. But nothing appears when I click on them whereas clicking on a mapped volume allows me to see all my videos. I guess this has something to do with the --net="host" option which I'd never used before and how Plex interacts with it's host.

Ideally I wouldn't want the Plex config menus to see the extra host volumes but that is nitpicking.

Thanks!