acelink
acelink copied to clipboard
Latest version of Docker not detected if manually installed
Describe the bug
Manually installed Docker is not detected
What I expected to happen
Docker is found by default
Additional debug info Seems like the app only searches a couple specific places where it expects to find the docker binary. From Console.app:
standardError: exec: "com.docker.cli": executable file not found in $PATH Current PATH : /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/local/bin:/
The path is different to the normal user PATH but I'm unfamiliar with MacOS development so don't know why. Maybe applications have their own path.
Steps
- Have pre-existing latest Docker for MacOS installation
- run
brew install ace-link --cask --skip-cask-deps
(from #18) - Run Ace Link.app
- Ace Link prompts to install Docker (also Docker download URL returned 403, perhaps because I wasn't logged in? Didn't check further)
Workaround Since issue #18 was marked wontfix, here are the steps I took:
- Copy contents of $HOME/.docker/bin to /usr/local/bin which is discovered by Ace Link
- You also need to create a symlink to the new location of the daemon socket file since it was changed for Docker Desktop.
sudo ln -s ~/Library/Containers/com.docker.docker/Data/docker.raw.sock /var/run/docker.sock
Can this information be added to #18? Currently it is locked.
Thanks for your suggestion, I reopened so we can discuss solutions.