diff --git a/bootstrap/sbin/rebuild_system_from_scratch.sh b/bootstrap/sbin/rebuild_system_from_scratch.sh
index f27635f00323216de692d2ebc10cd6f75b80e172..8cf58c14af66d2f0158b0c2b3903924059232a63 100755
--- a/bootstrap/sbin/rebuild_system_from_scratch.sh
+++ b/bootstrap/sbin/rebuild_system_from_scratch.sh
@@ -9,6 +9,22 @@ if [ ! -d ${HOME_DIR}/bootstrap ]; then
     exit 1
 fi
 
+# Check if Docker compose can be found.
+DOCKER_COMPOSE="docker compose version"
+${DOCKER_COMPOSE} 2>&1>/dev/null
+ret=${?}
+if [ ${ret} -ne 0 ]; then
+    DOCKER_COMPOSE="docker-compose version"
+    ${DOCKER_COMPOSE} 2>&1>/dev/null
+    ret=${?}
+fi
+if [ ${ret} -eq 0 ]; then
+    echo -e"\tFound Docker Compose:  ${DOCKER_COMPOSE}"
+else
+    echo "This system appears to not have Docker compose installed.  This means that the system cannot be rebuilt with this script."
+    return 1
+fi
+
 # Save for the moment when tango will be cloned.
 OLD_HOME_DIR=${HOME_DIR}.old