Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Commit a063831

Browse files
Update globalflags.go
Co-Authored-By: Dean Sheather <[email protected]>
1 parent 8beac84 commit a063831

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

globalflags.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ func (gf *globalFlags) config() config {
3939

4040
// ensureDockerDaemon verifies that Docker is running.
4141
func (gf *globalFlags) ensureDockerDaemon() {
42+
// docker is installed in /usr/local/bin on MacOS, but this isn't in
43+
// $PATH when launched by a browser that was opened via Finder.
4244
if runtime.GOOS == "darwin" {
4345
path := os.Getenv("PATH")
4446
localBin := "/usr/local/bin"

0 commit comments

Comments
 (0)