Support docker-compose v2 in test setup script

This supports the new docker compose plugin.

Change-Id: I00f0bd6ca0cc65b8a7f0535c03800f76a85a5776
This commit is contained in:
James E. Blair 2024-09-24 15:32:43 -07:00
parent a0d1eb5022
commit 5ddbac8988

View File

@ -33,6 +33,8 @@ fi
# Select docker-compose or podman-compose
if command -v docker-compose > /dev/null; then
COMPOSE=docker-compose
elif docker compose --help > /dev/null; then
COMPOSE="docker compose"
elif command -v podman-compose > /dev/null; then
COMPOSE=podman-compose
else