From 275ca809314f12bb84848597d21053468f73200c Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Sun, 11 Jan 2026 13:44:26 -0800 Subject: [PATCH] fix(install): use modern docker compose command in update script --- install/update_nomad.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install/update_nomad.sh b/install/update_nomad.sh index 36fa74f..84314aa 100644 --- a/install/update_nomad.sh +++ b/install/update_nomad.sh @@ -103,7 +103,10 @@ ensure_docker_compose_file_exists() { force_recreate() { echo -e "${YELLOW}#${RESET} Forcing recreation of containers..." - docker-compose -f /opt/project-nomad/compose.yml up -d --force-recreate + if ! docker compose -f /opt/project-nomad/compose.yml up -d --force-recreate; then + echo -e "${RED}#${RESET} Failed to recreate containers. Please check the Docker logs for more details." + exit 1 + fi } get_local_ip() {