mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-06 09:21:28 +00:00
Add CAP_NET_ADMIN capability to sysctl
With linux kernel 5.15+ change of proc/sys/net/ipv4/ip_forward require CAP_NET_ADMIN (https://github.com/torvalds/linux/commit/8292d7f6). We do not use ip_forward now, but we should be ready for future changes of conf files. Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>
This commit is contained in:
@@ -4,3 +4,4 @@ config:
|
|||||||
readonly: true
|
readonly: true
|
||||||
capabilities:
|
capabilities:
|
||||||
- CAP_SYS_ADMIN
|
- CAP_SYS_ADMIN
|
||||||
|
- CAP_NET_ADMIN
|
||||||
|
Reference in New Issue
Block a user