Merge pull request #11984 from Budibase/fix/11982

Update CLI to check for docker-compose or docker compose plugin installation
This commit is contained in:
Michael Drury 2023-10-06 12:16:45 +01:00 committed by GitHub
commit a108ee3e45
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
}
}