Move from docker-compose to docker compose

This commit is contained in:
Jamie Curnow
2025-10-14 19:01:00 +10:00
parent 43599b4028
commit e6f7ae3fba
10 changed files with 60 additions and 69 deletions

View File

@@ -3,12 +3,11 @@
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
. "$DIR/.common.sh"
# Ensure docker-compose exists
# Make sure docker exists
if hash docker-compose 2>/dev/null; then
if hash docker 2>/dev/null; then
cd "${DIR}/.."
echo -e "${BLUE} ${CYAN}Destroying Dev Stack ...${RESET}"
docker-compose down --remove-orphans --volumes
docker compose down --remove-orphans --volumes
else
echo -e "${RED} docker-compose command is not available${RESET}"
echo -e "${RED} docker command is not available${RESET}"
fi