#!/bin/sh # Accept both the Compose v2 plugin ("docker compose") and the standalone # binary ("docker-compose"), so the same Makefile works on machines where only # one of them is installed. This wrapper does not change any global setting. set -eu if docker compose version >/dev/null 2>&1; then exec docker compose "$@" fi if command -v docker-compose >/dev/null 2>&1; then exec docker-compose "$@" fi echo "Docker Compose is required (docker compose or docker-compose)" >&2 exit 2