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 852c3f0 commit 21f8bf5Copy full SHA for 21f8bf5
commands/start.go
@@ -1,11 +1,13 @@
1
package commands
2
3
import (
4
+ "fmt"
5
"kool-dev/kool/core/builder"
6
"kool-dev/kool/core/environment"
7
"kool-dev/kool/core/network"
8
"kool-dev/kool/services/checker"
9
"kool-dev/kool/services/updater"
10
+ "strings"
11
12
"github.com/spf13/cobra"
13
)
@@ -107,6 +109,9 @@ func (s *KoolStart) Execute(args []string) (err error) {
107
109
}
108
110
111
if err = s.checkDependencies(); err != nil {
112
+ if strings.HasPrefix(err.Error(), "no configuration file provided: not found") {
113
+ err = fmt.Errorf("could not find docker-compose.yml - check your current working directory.\n\n[err: %v]", err)
114
+ }
115
return
116
117
0 commit comments