1
0
Fork 0
mirror of synced 2024-08-09 15:17:57 +12:00

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

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
}
}