-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[docker-nat] limit privileged flag for nat container #17756
Conversation
Signed-off-by: Mai Bui <[email protected]>
@kirankella Could you help review this PR? |
@kirankella @stepanblyschak @abdosi could you help review this PR? |
@maipbui If nat is no longer priviledged does any application inside NAT require at least |
Signed-off-by: Mai Bui <[email protected]>
Yes, NAT needs |
@stepanblyschak could you help review again? |
@kirankella Could you help review? |
@stepanblyschak @kirankella could you help review? |
Why I did it
HLD implementation: Container Hardening (sonic-net/SONiC#1364)
Work item tracking
How I did it
Reduce linux capabilities in privileged flag
How to verify it
Check container's settings: Privileged is false and container only has default Linux caps, does not have extended caps.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)