-
Notifications
You must be signed in to change notification settings - Fork 121
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
[Workaround in description] Mac is detecting Docker as a malware and keeping it from starting #7520
Comments
can you tell us how old is the |
Running
|
Hi, Which version(s) of Docker Desktop have you tried? Which one is the highest one? Did you download it fresh?
then start Docker Desktop again? (Docker Desktop should re-install it on-demand when it needs it) Thanks, and sorry this happened to you! |
I uninstalled after the issue happened and re-installed the latest version available on the website - since deleting |
Ah maybe you need to (sudo) kill -9 the
show it running? |
Or any other docker process running?
|
$ps aux | grep vmnetd
user 25212 0.0 0.0 410733072 1664 s000 S+ 1:16pm 0:00.01 grep vmnetd
$ps aux | grep "[dD]ocker"
user 24255 0.0 0.2 412151024 73200 ?? S 1:05pm 0:00.15 /Applications/Docker.app/Contents/MacOS/com.docker.backend run |
It'd be helpful to get some system logs to see why macOS is rejecting
|
I see this at the end of the log output that looks suspicious:
|
Ah right, so Docker Desktop does not re-install
then restart Docker Desktop. edit: this probably needs you to update to at least Docker Desktop 4.35 before cp’ing |
This worked for me ^ |
That also worked for me! |
I uninstalled, and then reinstalled using the command line, and things seem to be working properly |
If someone is facing this issue, before removing the broken vmnetd or socket binary, could you please try to run these two commands and paste the output here:
|
This wasn't working for me
but reinstalling from command line worked. |
I have the same problem but with a small different detail. In the screenshot the file mentioned is @acassioaraujo your screenshot shows |
@zioproto I think both are affected since they were signed with the same certificate. If you have a chance, could you try to run the commands I posted in this comment please? This would help us a lot. #7520 (comment) |
@akerouanton It seems the signature cannot be verified:
|
This worked for me on version 4.32 |
@zioproto I just added two other commands to my comment, ie. EDIT: Let me re-add them here for clarity.
|
@akerouanton the certificate has been revoked:
Question: I am not familiar with this, is it normal that the verification url is plaintext http and not https ? and
here is the full certificate in text form:
|
@zioproto Thanks a lot! Last batch of questions:
|
It also worked for Docker 4.32.0, which we are stuck on due to the issue outlined here. |
difficult to say for sure because I am not able to start docker anymore.
Can you give me the full path to those files ? Do you need the full file ? this is my hash:
|
It should be:
But if one is missing on your system, don't worry and just upload what you have 🙂 |
Seeing similar issues. Downloaded the specific MacOS version (4.29.0) from https://desktop.docker.com/mac/main/arm64/145265/Docker.dmg and Apple wouldn't even let me install the dmg, with message When I use
|
Hello, We also have the issue reported on computer in our fleet. We have JAMF and this is the error reported by JAMF protect for com.docker.socket I provide here the screenshot and JSON alert from JAMF protect if it is of any help.
|
got this error popup after updating macos to 15.2 (24C101), clicked "Done", downloaded docker desktop again and installed, the issue was gone after that |
I’m using a Mac Pro with the M3 Pro chip, and downloading the latest version from this link solved all my problems: |
Successfully fixed by combining 2 of the above suggestions: First: sudo rm /Library/PrivilegedHelperTools/com.docker.vmnetd And then: sudo cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools/ |
This was mentioned earlier, but just so it isn't clear... This was patched in 4.37.2. While it may not fix all installations, I recommend updating to 4.37.2 and see if that resolves it. (It did for me) Patch notes: #7527 |
I had the same issue after upgrading my Mac - I found one of the issues was that I had Docker running on login. I turned that off and the endless error loops have stopped and I've been able to reinstall Docker by following the instructions above |
FYI: Yesterday the problem occurred randomly after hibernation under MB
After a restart it did not happen again. After starting Docker 4.7.32 there was still no message. |
i just re-installed with 3 commands as mentioned here https://docs.docker.com/desktop/setup/install/mac-install/#install-from-the-command-line
It's working on my Mac M3 pro with command line. Thanks. |
In my case, I left my MacBook Pro (M2 Pro) on all night running a task and this morning I wanted to use the computer and it asked me for the login password instead of the Touch ID. It didn't work so I had to restart the computer and then the password worked again but I saw this malware message: |
Hello everyone, I got this exact problem (on Sonoma 14.6) today: it was working fine yesterday, but the CLI docker commands suddenly stopped responding, and after a restart, the error messages came up.
In the end, I had to manually clear the override it with |
Guys, I guess there's no use re-posting the same alert box again and again. Read the thread, don't contribute to the noise. Honestly, nobody here is responsible for what's happening to you. See my solution to the issue here: #7520 (comment) Since then I believe there's been a new version available that solves this anyway, so maybe download that, install it, it will resolve this issue. |
Fixed my issue aswell. |
@levrik i had the issue with both of them, i think its probably related |
Resolved today macOS Sonoma v14.7.2I took inspiration from this github post and the forum linked below to resolve my issue without losing my images or volumes, despite a lot of advice falling back on a full uninstall and reinstall. Going to outline my steps here:
Click "Open Anyway and accept everything", at this point my Docker Desktop came to life, I updated my version to the latest without losing any data.
Really hope this helps someone, I've struggled with this for 2 days and was desperate not to lose my volumes. Good luck! |
It works for me! Thanks!!! My macOS is Sequoia 15.2 |
In my case, nothing worked from above and I consistently got the popup, and when I asked it to move to bin, it said couldn't move and I have to do that manually and then I was stuck in the loop. Later it hit me, that I have Obviously I also had to update the docker on my primary OS to the latest one. |
This worked for me. +1 |
It's possible the shell script provided will fail on step: sudo cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools/ As a result of the user having already uninstalled the affected Docker Desktop.app file. Users who are not comfortable with Running terminal commands could cause harm to their systems if they're not careful, so I was surprised to land here from the closed discussion forums as it essentially cuts out all non-technical users who are seeing the error described in OP. |
Completely reinstalling docker via brew worked for me:
|
@yakoveka your solution was the only one that worked for me |
I got a similar issue here as well, but it was for |
@ricardoyang00 I had the exact same issue and followed the steps outlined at https://docs.docker.com/desktop/cert-revoke-solution/#upgrade-to-docker-desktop-version-4372-recommended. |
@levrik yea thats what I did, just updated and solved |
For me, the problem was only resolved after I deleted the old Docker.app from the trash. Strange! |
Description
Whenever Docker is started, this error is shown:
Reproduce
Workaround
Tip
If you face this issue, try the following procedure:
If that still doesn't work, download one of the currently supported release from the Release notes and re-apply step 2.
As suggested running this command is working for most of people that had this problem.
Original issue details
### docker versiondocker info
Diagnostics ID
Can't get a Diagnostics ID because I'm not able to open docker, the error is from MacOS
Additional Info
I tried installing older versions of Docker but the error is the same to all of them.
The text was updated successfully, but these errors were encountered: