mirror of https://github.com/docker/compose.git
Display PATH when not finding com.docker.cli, to help debugging
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
parent
63057f6d1f
commit
0496f29a53
|
@ -89,6 +89,7 @@ func RunDocker(childExit chan bool, args ...string) error {
|
|||
execBinary, err := resolvepath.LookPath(ComDockerCli)
|
||||
if err != nil {
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
fmt.Fprintln(os.Stderr, "Current PATH : "+os.Getenv("PATH"))
|
||||
os.Exit(1)
|
||||
}
|
||||
cmd := exec.Command(execBinary, args...)
|
||||
|
|
Loading…
Reference in New Issue