diff --git a/healthcheck b/healthcheck index 074b258..9790803 100644 --- a/healthcheck +++ b/healthcheck @@ -53,7 +53,9 @@ findInstallPath() { dockerInDockerVerify() { if grep -qs 'workdir=/var/lib/docker' /proc/self/mountinfo; then + echo echo "💩 Oh-no! Execute the script from host machine and not from the Docker Container context." + echo exit 1 fi diff --git a/node_details b/node_details index 41fb25c..37cbf9d 100644 --- a/node_details +++ b/node_details @@ -88,7 +88,9 @@ findInstallPath() { dockerInDockerVerify() { if grep -qs 'workdir=/var/lib/docker' /proc/self/mountinfo; then + echo echo "💩 Oh-no! Execute the script from host machine and not from the Docker Container context." + echo exit 1 fi