Skip to content

Commit 9544a7e

Browse files
authored
feat: add support fo docker compose running as docker plugin (#12)
1 parent f0ae3de commit 9544a7e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

stack

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ if command -v docker-compose > /dev/null 2>&1; then
5959
CONTAINER_COMPOSE=docker-compose
6060
elif command -v podman-compose > /dev/null 2>&1; then
6161
CONTAINER_COMPOSE=podman-compose
62+
elif docker compose --help > /dev/null 2>&1; then
63+
CONTAINER_COMPOSE="docker compose"
6264
else
63-
echo "Could not find neither \"docker-compose\" nor \"podman-compose\", aborting"
65+
echo "Could not find \"docker-compose\", \"podman-compose\" or \"docker compose\", aborting"
6466
exit 1
6567
fi
6668

0 commit comments

Comments
 (0)