Update libcontainer Context changes

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)
Upstream-commit: c9fdb08bdafb90b76cfa804b079d2e446a3503e4
Component: engine
This commit is contained in:
Michael Crosby
2014-06-26 12:23:53 -07:00
parent f1dd83f7f9
commit 68391774fe
4 changed files with 10 additions and 10 deletions

View File

@ -35,11 +35,10 @@ func New() *libcontainer.Config {
AllowAllDevices: false,
},
MountConfig: &libcontainer.MountConfig{},
Context: make(map[string]string),
}
if apparmor.IsEnabled() {
container.Context["apparmor_profile"] = "docker-default"
container.AppArmorProfile = "docker-default"
}
return container