diff --git a/apparmor/setup.go b/apparmor/setup.go index 4e1c9514..4c664598 100644 --- a/apparmor/setup.go +++ b/apparmor/setup.go @@ -11,13 +11,10 @@ import ( const DefaultProfilePath = "/etc/apparmor.d/docker" const DefaultProfile = ` # AppArmor profile from lxc for containers. -@{HOME}=@{HOMEDIRS}/*/ /root/ -@{HOMEDIRS}=/home/ -#@{HOMEDIRS}+= -@{multiarch}=*-linux-gnu* -@{PROC}=/proc/ +#include profile docker-default flags=(attach_disconnected,mediate_deleted) { + #include network, capability, file,