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

FIXES #201 Sail browser extension docker not found error on MacOS #264

Merged
merged 3 commits into from
Mar 17, 2020

Conversation

dougnukem
Copy link
Contributor

@dougnukem dougnukem commented Mar 10, 2020

FIXES #201 chrome extension: failed to run docker info

On MacOS when Chrome is launched from Finder (as opposed to from terminal/shell session) the $PATH environment variable does not contain /usr/local/bin which is the common location for docker to be installed.

This PR adds in /usr/local/bin to be included in the PATH env variable on MacOS darwin.

See similar issues with other browser extensions that rely on Go to execute commands on the user's path:

browserpass/browserpass-legacy#13
browserpass/browserpass-legacy#159

@dougnukem
Copy link
Contributor Author

/cc @deansheather

dougnukem and others added 2 commits March 17, 2020 12:36
Co-Authored-By: Dean Sheather <[email protected]>
Co-Authored-By: Dean Sheather <[email protected]>
@dougnukem
Copy link
Contributor Author

@deansheather accepted PR suggestions

@dougnukem dougnukem requested a review from deansheather March 17, 2020 17:46
@deansheather deansheather merged commit 4ac2968 into coder:master Mar 17, 2020
@dougnukem dougnukem deleted the doug/chrome-extension/201 branch March 17, 2020 22:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chrome extension: failed to run docker info
2 participants