Skip to content

Commit

Permalink
Update docker version test notice to reduce confusion #555
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonacox committed Dec 12, 2024
1 parent 49f9b98 commit 9f3d304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ fi
echo "Checking Docker Compose..."
if docker compose version > /dev/null 2>&1; then
# Build Docker (v2)
echo "INFO: Docker Compose V2 Found: OK to Continue"
echo "Using Docker Compose V2, proceeding..."
echo ""
else
if docker-compose version > /dev/null 2>&1; then
# Check for version information to see if it is >= 2.0.0
COMPOSE_VERSION=`docker-compose version --short`
if [[ "${COMPOSE_VERSION}" == "2"* ]]; then
# Build Docker (v2)
echo "INFO: Docker Compose V2 Found: OK to Continue"
echo "Using Docker Compose V2, proceeding..."
else
# Build Docker (v1)
echo "ERROR: Docker Compose V1 Found: Upgrade Required"
Expand Down

0 comments on commit 9f3d304

Please sign in to comment.