feat(profile): docker: add git & init subprofile.
This commit is contained in:
parent
7a352cb7df
commit
2e5c860f0d
1 changed files with 19 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ profile dockerd @{exec_path} flags=(attach_disconnected) {
|
|||
capability sys_ptrace,
|
||||
|
||||
network inet dgram,
|
||||
network inet raw,
|
||||
network inet stream,
|
||||
network inet6 dgram,
|
||||
network inet6 stream,
|
||||
|
|
@ -64,8 +65,9 @@ profile dockerd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{bin}/apparmor_parser rPx,
|
||||
@{bin}/containerd rPx,
|
||||
@{bin}/docker-init rix,
|
||||
@{bin}/docker-init rCx -> init,
|
||||
@{bin}/docker-proxy rPx,
|
||||
@{bin}/git rCx -> git,
|
||||
@{bin}/kmod rPx,
|
||||
@{bin}/ps rPx,
|
||||
@{bin}/runc rUx,
|
||||
|
|
@ -123,6 +125,22 @@ profile dockerd @{exec_path} flags=(attach_disconnected) {
|
|||
/dev/ r,
|
||||
/dev/**/ r,
|
||||
|
||||
profile init flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
|
||||
@{bin}/docker-init mr,
|
||||
|
||||
include if exists <local/dockerd_init>
|
||||
}
|
||||
|
||||
profile git flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
|
||||
@{bin}/git mr,
|
||||
|
||||
include if exists <local/dockerd_git>
|
||||
}
|
||||
|
||||
include if exists <local/dockerd>
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue