Address CodeRabbit review: Clarify sysctl behavior in host network mode

This commit is contained in:
Meatloaf Bot
2026-03-10 12:04:30 -04:00
parent 93fc126da2
commit df3ca50c5c
3 changed files with 13 additions and 11 deletions

View File

@@ -22,8 +22,10 @@ if [ "$failed" -eq 1 ]; then
net.ipv4.conf.all.arp_ignore=1
net.ipv4.conf.all.arp_announce=2
Note: If using 'network_mode: host', you cannot set these via docker-compose
sysctls. You must configure them directly on your host operating system instead.
Note: If using 'network_mode: host', setting these via docker-compose sysctls
requires the NET_ADMIN capability. When granted, these sysctls will
modify the host namespace. Otherwise, you must configure them directly
on your host operating system instead.
Detection accuracy may be reduced until configured.