diff options
author | Justin Cormack <justin.cormack@docker.com> | 2016-12-08 08:47:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-08 08:47:27 -0800 |
commit | 68a423304ec0a9ee590ced5ebbdb27f359cee365 (patch) | |
tree | 5947a69efd5abd06effd82f8889ff61f1942c07b /profiles | |
parent | 4bc3b4d6aa9f41460bc02f4245ba94e0041ed141 (diff) | |
parent | 2ab8f2e389b4ae90d0cec6555ea5708ceca1cc3c (diff) | |
download | docker-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.go | 2 |
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}} } ` |