Skip to content

Commit

Permalink
Merge pull request #11984 from Budibase/fix/11982
Browse files Browse the repository at this point in the history
Update CLI to check for docker-compose or docker compose plugin installation
  • Loading branch information
mike12345567 authored Oct 6, 2023
2 parents ae2cd24 + 484e013 commit b3be942
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cli/src/hosting/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit b3be942

Please sign in to comment.