write a health check script
Is docker really necessary for this?
write the script without docker. make it bash only.
ð¡ Idea: Use
which to find out if Docker is installed, and use that in your script.
if [[ -z "$(which docker)" ]]; then
echo "Docker not found. Please install Docker before running this script." >&2