acelink icon indicating copy to clipboard operation
acelink copied to clipboard

Latest version of Docker not detected if manually installed

Open kgr7 opened this issue 8 months ago • 1 comments

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

  1. Have pre-existing latest Docker for MacOS installation
  2. run brew install ace-link --cask --skip-cask-deps (from #18)
  3. Run Ace Link.app
  4. 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:

  1. Copy contents of $HOME/.docker/bin to /usr/local/bin which is discovered by Ace Link
  2. 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.

kgr7 avatar Oct 22 '23 19:10 kgr7

Thanks for your suggestion, I reopened so we can discuss solutions.

blaise-io avatar Oct 28 '23 09:10 blaise-io