We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1e7a62 commit 9556217Copy full SHA for 9556217
book/reqs.go
@@ -137,7 +137,9 @@ func CheckRequirements() (bool, error) {
137
}
138
139
// Docker Compose
140
- if _, err := exec.LookPath("docker-compose"); err != nil {
+ _, composeBinary := exec.LookPath("docker-compose")
141
+ composePlugin := exec.Command("docker", "compose").Run()
142
+ if composeBinary != nil && composePlugin != nil {
143
ready = false
144
terminal.Println("<error>[KO]</> Cannot find Docker Compose, please install it <href=https://docs.docker.com/compose/install/>https://docs.docker.com/compose/install/</>")
145
} else {
0 commit comments