Support docker-compose v2 in test setup script
This supports the new docker compose plugin. Change-Id: I00f0bd6ca0cc65b8a7f0535c03800f76a85a5776
This commit is contained in:
parent
a0d1eb5022
commit
5ddbac8988
@ -33,6 +33,8 @@ fi
|
|||||||
# Select docker-compose or podman-compose
|
# Select docker-compose or podman-compose
|
||||||
if command -v docker-compose > /dev/null; then
|
if command -v docker-compose > /dev/null; then
|
||||||
COMPOSE=docker-compose
|
COMPOSE=docker-compose
|
||||||
|
elif docker compose --help > /dev/null; then
|
||||||
|
COMPOSE="docker compose"
|
||||||
elif command -v podman-compose > /dev/null; then
|
elif command -v podman-compose > /dev/null; then
|
||||||
COMPOSE=podman-compose
|
COMPOSE=podman-compose
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user