mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Merge pull request #1626 from gtardif/add_debug_path
Display PATH when not finding com.docker.cli, to help debugging
This commit is contained in:
commit
de8834d434
@ -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…
x
Reference in New Issue
Block a user