You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. Docker Compose V2 use the new docker compose command, and the old is docker-compose
Describe the solution you'd like
Should support V1 and V2
Describe alternatives you've considered
Try to detect and use the correct command
# Support Compose V2
if docker compose version > /dev/null 2>&1; then
DOCKER_COMPOSE="docker compose"
else
DOCKER_COMPOSE="docker-compose"
fi
$DOCKER_COMPOSE --help