-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Privileged required #6
Comments
I honestly don't know that it is. Docker is new to me - I'm always open to suggestions for improvement. |
I think you may have enabled it because you need it to configure the host device to support multicast? Did you write this and have simply forgotten why you enabled it? :-) |
I think so. I'm seeing some messages in the log with it disabled about
iptables needing root privileges. Working on some other things with it at
the moment, adding some env variables for the ports.
How much do you know about docker? I'm trying to link the Phlex logs to
the standard output, but not getting very far...
…On Thu, Jul 20, 2017 at 10:47 AM, deed02392 ***@***.***> wrote:
I think you may have enabled it because you need it to configure the host
device to support multicast? Did you write this and have simply forgotten
why you enabled it? :-)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABjuNOkQxLDWwNZcFhNgZyYmSYEto-O9ks5sP3Z8gaJpZM4OeQIY>
.
|
I think you need to ensure Phlex runs as PID 1, by using ENTRYPOINT exec form: https://docs.docker.com/engine/reference/builder/#exec-form-entrypoint-example |
https://forum.linuxserver.io/thread-495.html I'm trying to get LSIO to make a proper image so this can become a non-issue. Pop over and show some support! :D |
@deed02392
iptables without privileged works if --cap-add=NET_ADMIN is added but I'm not sure what capability provides sysctl ability. I tried some of the obvious ones but they didn't work |
What specific sysctl parameters are getting changed? They can be modified
with the call to run the container: --sysctl flag.
…On 7 August 2017 at 20:49, aptalca ***@***.***> wrote:
@deed02392 <https://github.com/deed02392>
--privileged is used for two reasons:
1. iptables
2. sysctl (for multicast)
iptables without privileged works if --cap-add=NET_ADMIN is added but I'm
not sure what capability provides sysctl ability. I tried some of the
obvious ones but they didn't work
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADX01w3xMhrNTHheHR3pKgju0uk3gLuHks5sV2pfgaJpZM4OeQIY>
.
--
From George Hafiz
|
Why is the privileged flag required for the operation of Phlex? Can we address this potential security issue?
The text was updated successfully, but these errors were encountered: