Christopher 7c38996391 feat(casaos-healthcheck): Add Docker port check and improve version display (#11)
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.
2024-10-05 11:45:44 -05:00
2023-10-04 21:27:05 -05:00
2023-09-15 18:59:00 -05:00
2023-09-19 13:04:26 -05:00
2023-08-22 12:07:19 -05:00
2023-08-14 21:39:57 -05:00
2023-09-21 08:17:53 -05:00
2023-10-27 11:00:31 -05:00

BigBearScripts

YouTube Link: https://www.youtube.com/@bigbeartechworld

BigBearCommunity

If you have a suggestion for a video, post in the BigBearCommunity.

Support My Work

ko-fi

Description
No description provided
Readme MIT 1 MiB
Languages
Shell 99.2%
JavaScript 0.8%