Skip to content

Commit 15ecb50

Browse files
committed
add a timeout for docker desktop start for 5 minutes
1 parent 8d3ee17 commit 15ecb50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/daemon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ module.exports = class LandoDaemon {
123123

124124
// if desktop version is >=4.37.1 then use docker desktop cli
125125
if (semver.gte(desktop, '4.37.0', {includePrerelease: true, loose: true})) {
126-
await require('../utils/run-command')('docker', ['desktop', 'start'], {debug: this.debug});
126+
await require('../utils/run-command')('docker', ['desktop', 'start', '--timeout', '300'], {debug: this.debug});
127127

128128
// otherwise mac fallback
129129
} else if (this.platform === 'darwin') {

0 commit comments

Comments
 (0)