Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions utils/get-compose-x.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ module.exports = ({orchestratorVersion = '2.27.1', userConfRoot = os.tmpdir()} =
case 'darwin':
case 'linux':
// use lando bin if available
console.log('checking for lando bin in', path.join(userConfRoot, 'bin', orchestratorBin));
if (fs.existsSync(path.join(userConfRoot, 'bin', orchestratorBin))) {
console.log('using lando bin');
return getDockerBin(orchestratorBin, path.join(userConfRoot, 'bin'), false);
}
// otherwise use docker desktop one if available
console.log('using docker desktop bin at ', require('./get-compose-bin-path')());
return getDockerBin('docker-compose', require('./get-compose-bin-path')(), process.platform === 'linux');
case 'win32':
// use lando bin if available
Expand Down