mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
fix(profiles): docker pull need full access of the container.
This commit is contained in:
parent
ee83e1c33c
commit
c453484eab
1 changed files with 1 additions and 4 deletions
|
@ -61,12 +61,9 @@ profile dockerd @{exec_path} flags=(attach_disconnected) {
|
|||
/{usr/,}bin/ps rPx,
|
||||
/{usr/,}bin/unpigz rix,
|
||||
|
||||
# Docker needs full access of the containers it manage.
|
||||
# Docker needs full access of the containers it manages.
|
||||
# TODO: should be in a sub profile started with pivot_root, not supported yet.
|
||||
/{,**} rwl,
|
||||
deny /boot/{,**} rwl,
|
||||
deny /media/{,**} rwl,
|
||||
deny /mnt/{,**} rwl,
|
||||
|
||||
owner /{usr/,}lib/docker/overlay2/*/work/{,**} rw,
|
||||
owner /var/lib/docker/{,**} rwk,
|
||||
|
|
Loading…
Reference in a new issue