Add docs about apparmor profile setting

Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
This commit is contained in:
Xianglin Gao 2016-11-30 16:36:07 +08:00
parent 26645c90ac
commit 06cc0ba6ba
5 changed files with 14 additions and 7 deletions

View file

@ -15,7 +15,7 @@ const (
conmonPath = "/usr/libexec/ocid/conmon"
pausePath = "/usr/libexec/ocid/pause"
seccompProfilePath = "/etc/ocid/seccomp.json"
apparmorProfileName = "crio-default"
apparmorProfileName = "ocid-default"
)
var commentedConfigTemplate = template.Must(template.New("config").Parse(`

View file

@ -140,7 +140,7 @@ func main() {
},
cli.StringFlag{
Name: "apparmor-profile",
Usage: "default apparmor profile name (default: \"crio-default\")",
Usage: "default apparmor profile name (default: \"ocid-default\")",
},
cli.BoolFlag{
Name: "selinux",