fix(profiles): docker pull need full access of the container.

This commit is contained in:
Alexandre Pujol 2022-12-10 15:18:00 +00:00
parent ee83e1c33c
commit c453484eab
Failed to generate hash of commit

View file

@ -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,