All errors have documentation links

This commit is contained in:
Adam Outler
2025-10-31 22:24:31 +00:00
parent 1e63cec37c
commit 8edef9e852
24 changed files with 481 additions and 75 deletions

View File

@@ -47,7 +47,7 @@ fi
YELLOW=$(printf '\033[1;33m')
RESET=$(printf '\033[0m')
>&2 printf "%s" "${YELLOW}"
>&2 cat <<EOF
&>2 cat <<EOF
══════════════════════════════════════════════════════════════════════════════
⚠️ ATTENTION: NetAlertX is not running with --network=host.
@@ -58,7 +58,9 @@ RESET=$(printf '\033[0m')
Restart the container with:
docker run --network=host --cap-add=NET_RAW --cap-add=NET_ADMIN --cap-add=NET_BIND_SERVICE
or set "network_mode: host" in docker-compose.yml.
https://github.com/jokob-sk/NetAlertX/blob/main/docs/docker-troubleshooting/network-mode.md
══════════════════════════════════════════════════════════════════════════════
EOF
>&2 printf "%s" "${RESET}"
&>2 printf "%s" "${RESET}"
exit 0