mirror of https://github.com/docker/docs.git
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:
parent
dca9a45f26
commit
652674a6d5
|
|
@ -55,12 +55,8 @@ $ docker run --rm -it --security-opt apparmor=your_profile hello-world
|
|||
To unload a profile from AppArmor:
|
||||
|
||||
```bash
|
||||
# stop apparmor
|
||||
$ /etc/init.d/apparmor stop
|
||||
# unload the profile
|
||||
$ apparmor_parser -R /path/to/profile
|
||||
# start apparmor
|
||||
$ /etc/init.d/apparmor start
|
||||
```
|
||||
|
||||
### Resources for writing profiles
|
||||
|
|
|
|||
Loading…
Reference in New Issue