mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
Add AppArmor support to containerd
This commit is contained in:
parent
9ea910d1a0
commit
3d63f9e21e
@ -57,6 +57,12 @@ profile containerd @{exec_path} {
|
||||
owner @{PROC}/@{pids}/uid_map r,
|
||||
owner @{PROC}/@{pids}/mountinfo r,
|
||||
@{PROC}/sys/net/core/somaxconn r,
|
||||
|
||||
# AppArmor within containers
|
||||
@{sys}/kernel/security/apparmor/profiles r,
|
||||
@{sys}/module/apparmor/parameters/enabled r,
|
||||
/tmp/cri-containerd.apparmor.d[0-9]* rwl,
|
||||
/usr/sbin/apparmor_parser Px,
|
||||
|
||||
include if exists <local/containerd>
|
||||
}
|
Loading…
Reference in New Issue
Block a user