Quick fix for #11982 - check for both deprecated docker-compose and docker compose V2.

This commit is contained in:
mike12345567 2023-10-05 23:03:34 +01:00
parent 4bbd575cb0
commit 5810529350
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,8 @@ export async function checkDockerConfigured() {
"docker/docker-compose has not been installed, please follow instructions at: https://docs.budibase.com/docs/docker-compose"
const docker = await lookpath("docker")
const compose = await lookpath("docker-compose")
if (!docker || !compose) {
const composeV2 = await lookpath("docker compose")
if (!docker || (!compose && !composeV2)) {
throw error
}
}