AppArmor is a Linux mandatory access control mechanism that strengthens container isolation. It uses path-based profiles to restrict what processes can access, adding protection beyond basic container isolation. section 2.3.4
AppArmor belongs to a group of mechanisms that reduce the impact of compromised or overly privileged containers:
- AppArmor focuses on processes and file paths. section 2.3.4
- SELinux applies policies to labels attached to files, resources, users, and processes. section 2.3.4
- Together with namespaces, control groups, capabilities, and seccomp, AppArmor contributes to layered container isolation. section 2.3.4 section 2.4
