We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06e6651 commit f9ba86cCopy full SHA for f9ba86c
pkg/apparmor/apparmor.go
@@ -2,19 +2,16 @@ package apparmor
2
3
import (
4
"errors"
5
+
6
+ "github.com/containers/common/version"
7
)
8
9
const (
10
// ProfilePrefix is used for version-independent presence checks.
11
ProfilePrefix = "containers-default-"
12
- // Default AppArmor profile used by containers; by default this is set to unconfined.
- // To override this, distros should supply their own profile and specify it in a default
13
- // containers.conf.
14
- // See the following issues for more information:
15
- // - https://github.com/containers/common/issues/958
16
- // - https://github.com/containers/podman/issues/15874
17
- Profile = "unconfined"
+ // Profile default name
+ Profile = ProfilePrefix + version.Version
18
19
20
var (
0 commit comments