engine/security: update apparmor docs to not unload all profiles

Fixes #8289

Signed-off-by: Eric Chiang <ericchiang@google.com>
This commit is contained in:
Eric Chiang 2019-02-19 15:43:08 -08:00
parent dca9a45f26
commit 652674a6d5
1 changed files with 0 additions and 4 deletions

View File

@ -55,12 +55,8 @@ $ docker run --rm -it --security-opt apparmor=your_profile hello-world
To unload a profile from AppArmor: To unload a profile from AppArmor:
```bash ```bash
# stop apparmor
$ /etc/init.d/apparmor stop
# unload the profile # unload the profile
$ apparmor_parser -R /path/to/profile $ apparmor_parser -R /path/to/profile
# start apparmor
$ /etc/init.d/apparmor start
``` ```
### Resources for writing profiles ### Resources for writing profiles