mirror of
https://github.com/containers/podman.git
synced 2025-11-28 17:18:58 +08:00
Add AppArmor key to quadlet .container files
Fixes: #27095 Signed-off-by: givensuman <givensuman@duck.com>
This commit is contained in:
@@ -305,6 +305,7 @@ Valid options for `[Container]` are listed below:
|
||||
| AddDevice=/dev/foo | --device /dev/foo |
|
||||
| AddHost=example\.com:192.168.10.11 | --add-host example.com:192.168.10.11 |
|
||||
| Annotation="XYZ" | --annotation "XYZ" |
|
||||
| AppArmor="alternate-profile" | --security-opt apparmor=alternate-profile |
|
||||
| AutoUpdate=registry | --label "io.containers.autoupdate=registry" |
|
||||
| CgroupsMode=no-conmon | --cgroups=no-conmon |
|
||||
| ContainerName=name | --name name |
|
||||
@@ -428,6 +429,10 @@ similar to `Environment`.
|
||||
|
||||
This key can be listed multiple times.
|
||||
|
||||
### `AppArmor=`
|
||||
|
||||
Sets the apparmor confinement profile for the container. A value of `unconfined` turns off apparmor confinement.
|
||||
|
||||
### `AutoUpdate=`
|
||||
|
||||
Indicates whether the container will be auto-updated ([podman-auto-update(1)](podman-auto-update.1.md)). The following values are supported:
|
||||
|
||||
Reference in New Issue
Block a user