Skip to content

Commit

Permalink
make warning more complete for cap_drop/add
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Oct 13, 2023
1 parent 81b318e commit b6c1264
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/docker-compose.yml-EXAMPLE
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ services:
# restrict capabilities of the root user to the strict minimum
# see CIS Docker Benchmark v1.5 5.3
# see ANSSI-FT-082 23/09/2020 R8
# Warning: for Centos7/8, comment out these lines (cap_drop and cap_add)
# WARNING: for Centos7/8, comment out these lines (cap_drop and cap_add)
# If you get this error in the logs:
# nginx: [emerg] bind() to 0.0.0.0:443 failed (13: Permission denied)
# comment out these lines!
cap_drop:
- ALL
cap_add:
Expand Down

0 comments on commit b6c1264

Please sign in to comment.