pducharme / UniFi-Video-Controller

Docker for Unifi-Video Controller (Ubiquiti Networks)
199 stars 105 forks source link

Get it working w/o --privileged #14

Closed fryfrog closed 7 years ago

fryfrog commented 7 years ago

It'd be great to figure out which capability it depends on...

My testing shows it starts up w/ --cap-add DAC_READ_SEARCH, but it didn't show up in video cloud.

fryfrog commented 7 years ago

Looks like --cap-add DAC_READ_SEARCH --cap-add SYS_ADMIN will do it, I just hadn't waited long enough. Testing locally shows it working nicely.

pducharme commented 7 years ago

With the pull now merged, can this be closed?

fryfrog commented 7 years ago

Totally. :)

tgrosinger commented 6 years ago

I apologize for bumping such an old ticket. Can you please elaborate on why these permissions are required? You can probably imagine my hesitation at running a container with such elevated permissions.