mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-08-03 11:18:45 -04:00
7c38996391a0f7c4ff062bc68fcffe261d367d73
This commit introduces the following changes: 1. Adds a new function `check_docker_ports` to the `casaos-healthcheck/run.sh` script. This function checks if Docker is installed and running, and if UFW (Uncomplicated Firewall) is installed and active. It then retrieves all running Docker containers and checks if the ports exposed by these containers are allowed by the UFW rules. If a port is not allowed, a warning is displayed. 2. Updates the version display in the `print_header` function from "BigBearCasaOS Healthcheck V3.0" to "BigBearCasaOS Healthcheck V3.1". The Docker port check is an important addition to the healthcheck script, as it helps identify potential issues with firewall rules that may be blocking Docker container ports. This can be especially useful in troubleshooting network-related problems. The version update reflects the changes introduced in this commit.
BigBearScripts
YouTube Link: https://www.youtube.com/@bigbeartechworld
BigBearCommunity
If you have a suggestion for a video, post in the BigBearCommunity.
Support My Work
Languages
Shell
99.2%
JavaScript
0.8%