mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Revert "Introduce a dedicated unconfined AA policy"
This reverts commit 87376c3add
.
Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
parent
5ab4b60e11
commit
94ab0d312f
2 changed files with 1 additions and 13 deletions
|
@ -23,15 +23,3 @@ profile docker-default flags=(attach_disconnected,mediate_deleted) {
|
|||
deny /sys/firmware/efi/efivars/** rwklx,
|
||||
deny /sys/kernel/security/** rwklx,
|
||||
}
|
||||
|
||||
profile docker-unconfined flags=(attach_disconnected,mediate_deleted) {
|
||||
#include <abstractions/base>
|
||||
|
||||
network,
|
||||
capability,
|
||||
file,
|
||||
umount,
|
||||
mount,
|
||||
pivot_root,
|
||||
change_profile -> *,
|
||||
}
|
||||
|
|
|
@ -198,7 +198,7 @@ func (d *driver) setPrivileged(container *configs.Config) (err error) {
|
|||
container.Devices = hostDevices
|
||||
|
||||
if apparmor.IsEnabled() {
|
||||
container.AppArmorProfile = "docker-unconfined"
|
||||
container.AppArmorProfile = "unconfined"
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue