summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorJustin Cormack <justin.cormack@docker.com>2016-12-08 08:47:27 -0800
committerGitHub <noreply@github.com>2016-12-08 08:47:27 -0800
commit68a423304ec0a9ee590ced5ebbdb27f359cee365 (patch)
tree5947a69efd5abd06effd82f8889ff61f1942c07b /profiles
parent4bc3b4d6aa9f41460bc02f4245ba94e0041ed141 (diff)
parent2ab8f2e389b4ae90d0cec6555ea5708ceca1cc3c (diff)
downloaddocker-68a423304ec0a9ee590ced5ebbdb27f359cee365.tar.gz
Merge pull request #28924 from xlgao-zju/fix-apparmor-load-profile
fix apparmor load profile
Diffstat (limited to 'profiles')
-rw-r--r--profiles/apparmor/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/apparmor/template.go b/profiles/apparmor/template.go
index dd9da97216..c5ea4584de 100644
--- a/profiles/apparmor/template.go
+++ b/profiles/apparmor/template.go
@@ -40,7 +40,7 @@ profile {{.Name}} flags=(attach_disconnected,mediate_deleted) {
{{if ge .Version 208095}}
# suppress ptrace denials when using 'docker ps' or using 'ps' inside a container
- ptrace (trace,read) peer=docker-default,
+ ptrace (trace,read) peer={{.Name}},
{{end}}
}
`