Add AppArmor support to containerd
This commit is contained in:
parent
9ea910d1a0
commit
3d63f9e21e
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue