Skip to content

Commit

Permalink
compose: add AUDIT_CONTROL for rhel-8
Browse files Browse the repository at this point in the history
The container services in docker-compose.yml need AUDIT_CONTROL in
capability in order to ssh to them.
  • Loading branch information
spoore1 authored and pbrezina committed May 26, 2023
1 parent 400c510 commit 1fa9aff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ services:
- SYS_ADMIN
- SYS_PTRACE
- AUDIT_WRITE
- AUDIT_CONTROL
- SYS_CHROOT
- NET_ADMIN
security_opt:
Expand All @@ -49,6 +50,7 @@ services:
cap_add:
- SYS_PTRACE
- AUDIT_WRITE
- AUDIT_CONTROL
- SYS_CHROOT
- NET_ADMIN
security_opt:
Expand All @@ -70,6 +72,7 @@ services:
- SYS_ADMIN
- SYS_PTRACE
- AUDIT_WRITE
- AUDIT_CONTROL
- SYS_CHROOT
- NET_ADMIN
security_opt:
Expand All @@ -93,6 +96,7 @@ services:
- NET_RAW
- NET_ADMIN
- AUDIT_WRITE
- AUDIT_CONTROL
- SYS_CHROOT
security_opt:
- apparmor=unconfined
Expand All @@ -114,6 +118,7 @@ services:
- SYS_ADMIN
- SYS_PTRACE
- AUDIT_WRITE
- AUDIT_CONTROL
- SYS_CHROOT
- NET_ADMIN
security_opt:
Expand All @@ -136,6 +141,7 @@ services:
- SYS_ADMIN
- SYS_PTRACE
- AUDIT_WRITE
- AUDIT_CONTROL
- SYS_CHROOT
- NET_ADMIN
security_opt:
Expand Down

0 comments on commit 1fa9aff

Please sign in to comment.