add apparmor:
Signed-off-by: Victor Vieux <vieux@docker.com> Upstream-commit: c2c5e57a8ea4b1dc35c58654443a8c4508277904 Component: engine
This commit is contained in:
@ -49,6 +49,10 @@ func (d *driver) createContainer(c *execdriver.Command) (*libcontainer.Config, e
|
||||
}
|
||||
}
|
||||
|
||||
if c.AppArmorProfile != "" {
|
||||
container.AppArmorProfile = c.AppArmorProfile
|
||||
}
|
||||
|
||||
if err := d.setupCgroups(container, c); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user