feat(profiles): general update.
This commit is contained in:
parent
d52a7bd52a
commit
1e5d90afe8
19 changed files with 78 additions and 37 deletions
|
|
@ -21,6 +21,7 @@ profile dockerd @{exec_path} flags=(attach_disconnected) {
|
|||
capability kill,
|
||||
capability mknod,
|
||||
capability net_admin,
|
||||
capability setfcap,
|
||||
capability sys_admin,
|
||||
capability sys_chroot,
|
||||
capability sys_ptrace,
|
||||
|
|
@ -60,12 +61,12 @@ profile dockerd @{exec_path} flags=(attach_disconnected) {
|
|||
/{usr/,}bin/ps rPx,
|
||||
/{usr/,}bin/unpigz rix,
|
||||
|
||||
# Docker needs full access of its containers.
|
||||
# Docker needs full access of the containers it manage.
|
||||
# TODO: should be in a sub profile started with pivot_root, not supported yet.
|
||||
/{,**} rw,
|
||||
deny /boot/{,**} rw,
|
||||
deny /media/{,**} rw,
|
||||
deny /mnt/{,**} rw,
|
||||
/{,**} rwl,
|
||||
deny /boot/{,**} rwl,
|
||||
deny /media/{,**} rwl,
|
||||
deny /mnt/{,**} rwl,
|
||||
|
||||
owner /{usr/,}lib/docker/overlay2/*/work/{,**} rw,
|
||||
owner /var/lib/docker/{,**} rwk,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue