-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requires Docker Desktop (mac os 13.2.1 on m2) #374
Comments
Thanks for reporting the issue. After installing Docker Desktop the message changes to request you to start docker desktop. Do you remember starting it? If not, please try the following:
|
Did that, also restarted Docker-Desktop and Dangerzone. |
How does dangerzone check if docker desktop is installed? |
Thanks for the quick response. Then it seems like a problem where Dangerzone is not detecting properly docker.
It does Can you try installing the dmg and running via the terminal? You can do this by running: It could be that the GUI version doesn't detect docker but the CLI detects it. We've had this issue in the past. |
2 similar comments
Thanks for the quick response. Then it seems like a problem where Dangerzone is not detecting properly docker.
It does Can you try installing the dmg and running via the terminal? You can do this by running: It could be that the GUI version doesn't detect docker but the CLI detects it. We've had this issue in the past. |
Thanks for the quick response. Then it seems like a problem where Dangerzone is not detecting properly docker.
It does Can you try installing the dmg and running via the terminal? You can do this by running: It could be that the GUI version doesn't detect docker but the CLI detects it. We've had this issue in the past. |
(github outage messed up the "comment" button) |
when I run 'which docker' in the terminal it returns 'docker not found' . When I run dangerzone-cli , it is almost the same. Could this be because I installed docker-desktop with brew? |
Good hypothesis. Let me check that on my system. |
Actually, this issue may be specific to your MacOS model and Homebrew installation. We see here that on Mac M1 laptops, you need to do a further step to add the binaries installed by Homebrew to the path. If you have a Mac M1 indeed, can you verify that |
the bin for docker is in /opt/homebrew/Caskroom/docker/4.17.0,99724/Docker.app/Contents/Resources/bin/docker , and I have |
Ok I ran brew doctor (thought it was a typo/autocompletion 'docker / doctor') and linked the keg. We have progress. Running the dangerzone-cli now works. I can see in docker-desktop how it creates the containers and also deletes them after it finishes. But dangerzone gui still does not work. |
I was able to get this result by running `brew install docker. In this situation Dangerzone failed to detect it. I think this is because when Dangerzone is running it has the default path and the homebrew PATH mods don't get sourced. After removing that docker and installing with |
When installing the Cask I think it's the same as downloading docker desktop from the official website via the .dmg |
I am using Funny is that if I uninstall docker with |
Dummy question, but could it be that your current user session does not have the proper |
No idea.
Indeed. According the the source of the cask it does in fact expect to delete it from there. |
Did not work. I restarted the Mac completely . |
Also , it does not ask for permissions when installing. So it does not even try to write the file to Found on stackoverflow(https://stackoverflow.com/questions/70983104/brew-installs-not-appearing-in-usr-local-bin) a link to this. https://brew.sh/2021/02/05/homebrew-3.0.0/ Also on the homebrew FAQ page:
|
This is not the best solution Thank you |
Glad it's been resolved. Since this is not a supported configuration I don't think we'll have to fix this in code. Only a very small subset of users will find this. But it's good for us to be aware. Thanks again, @Scr1p-tak |
Oddly, the latest docker.rb Cask definition doesn't seem to symlink the docker executable onto the path (although it will happily delete such a symlink if it is there). I found I had to do this on my Intel Mac: ln -s /Applications/Docker.app/Contents/Resources/bin/docker /usr/local/bin/docker |
Hey @kgadek, sorry for jumping in late here. In my experience, it's not typical for a program to have a setting about the path where it will look for executables. Especially Dangezone, which does not rely on many external programs. In my opinion, configuration issues like that should be resolved at the system level, so that CLI applications and GUIs can benefit alike. MacOS is not my daily driver, but I see that others have found a solution to this. Hopefully it helps. Alternatively, other solutions like symlinking can also help, and they apply to the whole system as well. |
Dangerzone 0.4.0
Docker Desktop 4.17.0
Mac OS 13.2.1
After instlling Dangerzone it ask for Docker Desktop.
I installed Docker Desktop with the given link in dangerzone.
After the install , the message was still there, app not usable.
Restarted the system. problem still there.
reinstalled dangerzone and docker-desktop (with homebrew and with .dmg , in all 4 conbinations)
Problem still there. Is this like a permission problem from dangerzone or PATH problem with Docker?
The text was updated successfully, but these errors were encountered: