Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit de8834d

Browse files
authored
Merge pull request #1626 from gtardif/add_debug_path
Display PATH when not finding com.docker.cli, to help debugging
2 parents 769dd23 + 0496f29 commit de8834d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/mobycli/exec.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ func RunDocker(childExit chan bool, args ...string) error {
8989
execBinary, err := resolvepath.LookPath(ComDockerCli)
9090
if err != nil {
9191
fmt.Fprintln(os.Stderr, err)
92+
fmt.Fprintln(os.Stderr, "Current PATH : "+os.Getenv("PATH"))
9293
os.Exit(1)
9394
}
9495
cmd := exec.Command(execBinary, args...)

0 commit comments

Comments
 (0)