Malware Blocked: “com.docker.vmnetd” was not opened because it contains malware

Done.

2 Likes

Hey @macgog ,
in order to get back to a clean state, you can follow these instructions: Uninstall | Docker Docs.

You should get back on track as if you had uninstalled Docker Desktop.

1 Like

Do we know what has happened here - is this a false positive or a real problem ?

This is a real problem for some - it seems we found a workaround though that can be found here.

I uninstalled again, and then reinstalled using the command line, and things seem to be working properly

the short-term fix is to run this:

sudo cp /Applications/Docker.app//Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools/

and then restart Docker Desktop.

We are investigating a signing certificate issue with Apple.

7 Likes

I’m facing the same problem here using a Macbook Air M1 with MacOS Sequoia 15.2. I’ve tried this solution but it didin’t work. Even after restarting the mac, I just get the malware popup over and over. The solution was to not close it and leave it in my second monitor so it does not bother me.

2 Likes

Adding a full workaround to this thread pulled from the issue:

If you face this issue, try the following procedure:

  1. Quit Docker Desktop and check that no remaining docker processes are running using the Activity Monitor
  2. Run the following commands:
sudo cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools/
sudo cp /Applications/Docker.app/Contents/MacOS/com.docker.socket /Library/PrivilegedHelperTools/
  1. Restart Docker Desktop.

If that still doesn’t work, download one of the currently supported release from the Release notes and re-apply step 2.

4 Likes

What version are you using and what error are you seeing? I just posted more complete steps to working around this issue

For what it’s worth, I saw the same issue after restarting my laptop a bit ago.

I’ve since attempted to download the latest version of Docker from here: Mac | Docker Docs but when I attempt to install (by dragging to my Application directory from the opened dmg file), I get

“Docker” is damaged and can’t be opened. You should move it to the Trash.

I’ve attempted to run the commands mentioned above as well, no luck. I’m not actually sure about next steps, I’m not sure I’ve ever run into this particular error on my Mac so am not certain if there is an easy solution.

1 Like

This is likely a corrupt download, can you please try to redownload the dmg and reinstall it?

I tried a few times, same issue.

I’ve now moved onto attempting to fully remove Docker from my laptop after attempting to follow the directions here: Uninstall | Docker Docs

 /Applications/Docker.app/Contents/MacOS/uninstall
Uninstalling Docker Desktop...
Error: open /Users/username/Library/Group Containers/group.com.docker/settings-store.json: no such file or directory

If I attempt to re-install Docker at this point by downloading a fresh install, moving Docker into my Applications directory, then double clicking on Docker, something shows in Activity monitor but Docker doesn’t appear to fully start up. Any chance you can point me towards some logs or additional debugging steps? Again this originated from the same error others are pointing to above. MacOS 14.6.1 for whatever that’s worth. I don’t have a particularly complex or strange setup on my laptop as far as I know.

1 Like

This worked for me. Thanks @ccrone !

same issue with my Mac

“Docker.app” was not opened because it contains malware.” - I’m getting this error since yesterday, and it moved to the “Recycle Bin”

I also have the same issue.

  • I am on MacOS Sequoia 15.1
  • I have uninstalled Docker Desktop
  • I have downloaded the latest 4.37.1
  • I tried to install it by drag and drop but that failed with “Docker” is damaged and can’t be opened. You should move it to the Trash.
  • I tried installing it via command line but that was also not successful

I had neither updated my MacOS version nor docker and I suddenly started getting these malware popups every 10 seconds:

I also tried downloading the latest binary and now I get a “Docker is damaged and can’t be opened” message.

Has anyone found any solutions yet??

2 Likes

There are several workarounds on the Github Issue

What worked for me is the following

  1. Close Docker and kill all docker processes docker kill $(docker ps -q)
  2. Check if vmnetd processes are running and kill if exists ps aux | grep vmnetd - that will list any processes that are running.
  3. Remove the problematic vmnetd sudo rm /Library/PrivilegedHelperTools/com.docker.*
  4. Download the latest dmg
  5. Restart our Mac. Very important… if you do not restart you will get endless popups that docker is damaged.
  6. After restarting, I installed the dmg via command line. cd to Downloads and run
sudo hdiutil attach Docker.dmg
sudo /Volumes/Docker/Docker.app/Contents/MacOS/install
sudo hdiutil detach /Volumes/Docker 
  1. Go to Applications and start Docker, it should start fine. (At least it did for me.)
39 Likes

I too have the same issue from today. I had this docker version installed and running for few months. Why this happed now?

I am working on M2 pro. After updating macOS, having the same problems.

Can’t really quit com.docker.vmnetd:

Tried to reinstall other versions of Docker, latest version, uninstall through CLI, but still having the “Malware Blocked” non-stopping pop-up window. Cannot really quit this pop-up window. tried to quit force all the processes, but “com.docker.vmnetd” seems to be reinitiating.

What else can be done?

1 Like