Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions content/manuals/engine/security/apparmor.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,13 @@ profile docker-nginx flags=(attach_disconnected,mediate_deleted) {

You just deployed a container secured with a custom apparmor profile.

> [!WARNING]
>
> The activation of the custom AppArmor profile in `/etc/apparmor.d/containers/docker-nginx` will not persist across restarts.
> After a reboot the container will fail to start, as it expects the `docker-nginx` profile to be loaded.
>
> Only profiles directly located in `/etc/appamor.d/` will be automatically applied in enforce mode.
> For more information about the AppArmor directory structure, have a look at [Policy Layout](https://gitlab.com/apparmor/apparmor/-/wikis/Policy_Layout).

## Debug AppArmor

Expand Down