diff --git a/mk/containerized.mk b/mk/containerized.mk index 5669423d2..652f73480 100644 --- a/mk/containerized.mk +++ b/mk/containerized.mk @@ -2,7 +2,8 @@ # Docker and docker-compose specific commands DOCKER = docker -DOCKER_COMPOSE = docker-compose ## Docker-compose command +# Docker-compose v1 or v2 +DOCKER_COMPOSE != command -v docker-compose || command -v docker | tr -d '\n' | cat - <(echo " compose") DOCKER_COMPOSE_COMMANDS = pull build up run exec ps top images logs port \ pause unpause stop restart down events