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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user