mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
Add AppArmor support to containerd
This commit is contained in:
parent
9ea910d1a0
commit
3d63f9e21e
@ -58,5 +58,11 @@ profile containerd @{exec_path} {
|
|||||||
owner @{PROC}/@{pids}/mountinfo r,
|
owner @{PROC}/@{pids}/mountinfo r,
|
||||||
@{PROC}/sys/net/core/somaxconn 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>
|
include if exists <local/containerd>
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user