acelink icon indicating copy to clipboard operation
acelink copied to clipboard

Docker version

Open Githeo opened this issue 2 years ago • 16 comments

Hi, is there a specific requirement on the docker version? Docker version 2.3.0.5 (I know quite old but is the one for high sierra) seems not to be recognized:

Screen Shot 2022-10-01 at 16 04 53

Thank you.

Githeo avatar Oct 01 '22 14:10 Githeo

Same happends to me

damt983 avatar Dec 27 '22 15:12 damt983

did there end up being a way of solving this, the same happens to me.

hithisisfun avatar Mar 05 '23 10:03 hithisisfun

Same for BigSur: imagen

Using

$ docker --version
Docker version 20.10.24, build 297e128

and ace-link app version 2.0.2.

edudediegolucas avatar Apr 10 '23 20:04 edudediegolucas

Same for me, docker version is 20.10.24

viktordavidovich avatar Apr 11 '23 19:04 viktordavidovich

I'm likely detecting whether Docker is installed the wrong way. (https://github.com/blaise-io/acelink/blob/22afdfd6bfd6907810215d026959243a8811c4bc/Ace%20Link/Menu/MainMenu.swift#L48) I did this to support Colima, which is a Docker replacement, instead of detecting a correct BundleID but apparently running docker without parameters may exit with an error status.

blaise-io avatar Apr 12 '23 17:04 blaise-io

@edudediegolucas @viktordavidovich what do you get for docker; echo $?; which docker?

blaise-io avatar Apr 12 '23 17:04 blaise-io

Alternatively, does this work for you guys? Ace.Link.2.0.3-RC.dmg.zip

blaise-io avatar Apr 12 '23 18:04 blaise-io

@edudediegolucas @viktordavidovich what do you get for docker; echo $?; which docker?

@blaise-io I'm getting this /usr/local/bin/docker Long story short, I had to uninstall docker which has been already installed before ace-link. I've done the same for VLC player (has been installed before) Then I called brew install ace-link --cask and now ace-link works fine.

viktordavidovich avatar Apr 12 '23 18:04 viktordavidovich

Thanks @viktordavidovich.

I created https://github.com/blaise-io/acelink/releases/download/2.0.3/Ace.Link.2.0.3.dmg which slightly changes the detection of docker. If anyone still has issues, please open Terminal.app and report your output of docker; echo $?; docker --version; echo $?; which docker

blaise-io avatar Apr 12 '23 18:04 blaise-io

@edudediegolucas @viktordavidovich what do you get for docker; echo $?; which docker?

@blaise-io this where my docker is (I installed via brew long time ago):

/Applications/Docker.app/Contents/Resources/bin/docker

Recently, I had to change my PATH env to apps folder because latest docker versions provided the possibility of having binaries in non-sudo folders: I noticed also that when upgrading via brew, it does not ask for sudo password anymore.

And I have updated as well the app to the new 2.0.3 version I have still the Docker is required... message.

Thanks for your time, really appreciated.

edudediegolucas avatar Apr 12 '23 20:04 edudediegolucas

I can solve this but it gets a bit ugly: I can find and run Docker by BundleID, but Ace Link also sort of supports Colima and possibly other runtimes in the future, so then I'd have to list those BundleID's as well. But I don't know which BundleID would be preferred by the user, so then it gets messy. It's probably best to rely for now on the docker that's on the PATH.

blaise-io avatar Apr 15 '23 07:04 blaise-io

@edudediegolucas @viktordavidovich what do you get for docker; echo $?; which docker?

@blaise-io I'm getting this /usr/local/bin/docker Long story short, I had to uninstall docker which has been already installed before ace-link. I've done the same for VLC player (has been installed before) Then I called brew install ace-link --cask and now ace-link works fine.

This worked for me too. Thanks.

marcosdiak avatar Apr 15 '23 15:04 marcosdiak

This happened for me too, Docker version 20.10.24 and Ace link 2.05, on an M1. When I first installed Docker, the CLI tools were installed under ~/.docker/bin and Ace link could not detect Docker. Going into Docker's settings > advanced and changing the location of the CLI tools to /usr/local/bin fixed it for me.

How about adding ~/.docker/bin to the PATH in the detection process?

josephxk avatar Apr 21 '23 15:04 josephxk

For those who don't have docker in their path, can you verify this build works? Ace.Link.2.0.5-bundleid.dmg.zip

If it does not work, please paste the log of Ace Link in this issue. You can retrieve the log like this:

  1. Open Console.app
  2. In Console.app search box, type Process: Ace Link and press enter
  3. Click on Start or Start streaming
  4. Open this Ace Link build
  5. It should now start populating Console.app with debug information, Cmd+A, Cmd+C and then Cmd+V in this issue

blaise-io avatar Apr 21 '23 19:04 blaise-io

Hey @blaise-io , I finally have Ace Link working ;) I did 2 main things, first, change docker location here:

imagen

and secondly, working with IntelliJ and docker gave me another hint (honestly don't know if this was the issue):

imagen

I simply symlinked my home docker.sock to the one in /var/run via sudo.

Anyway, IMO, the first option is more suitable to be the solution to my problem but I put the second if anyone has any other related issue. Thanks for the help!

edudediegolucas avatar Apr 25 '23 20:04 edudediegolucas

Thanks @edudediegolucas, I'm glad you got it working :)

For those who still having issues finding Docker, please try https://github.com/blaise-io/acelink/issues/55#issuecomment-1518235334, because it attempts to find the docker cli inside Docker.app.

blaise-io avatar Apr 26 '23 08:04 blaise-io