#373·os

Proposal: Load Docker AppArmor policies

Author: ewindischCreated Jun 11, 2015Updated Feb 24, 2023
Labelskind/enhancement

I'm happy to help implement loading AppArmor policies. Before I dump a bunch of code, I would like input on design.

There seem to be two main methods of solving this:

  1. Provide a system container loading the AppArmor policy. This will allow easily swapping AppArmor for SELinux down the road. This system container will need to be loaded before all other system containers. There will be a window of opportunity where the system-docker will not be protected.
  2. Integrate AppArmor support into the base OS and init.go. This will be the most secure option, but will have the most significant impact to RancherOS, architecturally.