IssueRaiser

[Workaround in description] Mac is detecting Docker as a malware and keeping it from starting

### Description Whenever Docker is started, this error is shown: > Malware Blocked. “com.docker.socket” was not opened because it contains malware. this action did not harm your Mac. ### Reproduce 1. Start Docker 2. See the error <img width="381" alt="Image" src="https://github.com/user-attachments/assets/8a3809dc-4575-4e58-b5e2-0b5dc34d6413" /> ### Workaround > [!TIP] > 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: > > ```bash > #!/bin/bash > > # Stop the docker services > echo "Stopping Docker..." > sudo pkill '[dD]ocker' > > # Stop the vmnetd service > echo "Stopping com.docker.vmnetd service..." > sudo launchctl bootout system /Library/LaunchDaemons/com.docker.vmnetd.plist > > # Stop the socket service > echo "Stopping com.docker.socket service..." > sudo launchctl bootout system /Library/LaunchDaemons/com.docker.socket.plist > > # Remove vmnetd binary > echo "Removing com.docker.vmnetd binary..." > sudo rm -f /Library/PrivilegedHelperTools/com.docker.vmnetd > > # Remove socket binary > echo "Removing com.docker.socket binary..." > sudo rm -f /Library/PrivilegedHelperTools/com.docker.socket > > # Install new binaries > echo "Install new binaries..." > sudo cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools/ > sudo cp /Applications/Docker.app/Contents/MacOS

Posted by acassioaraujo on Jan 7, 2025, 5:29 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

onboarding (SaaS)

[Workaround in description] Mac is detecting Docker as a malware and keeping it from starting

acassioaraujoJan 7, 2025, 5:29 PM

### Description Whenever Docker is started, this error is shown: > Malware Blocked. “com.docker.socket” was not opened because it contains malware. this action did not harm your Mac. ### Reproduce 1. Start Docker 2. See the error <img width="381" alt="Image" src="https://github.com/user-attachments/assets/8a3809dc-4575-4e58-b5e2-0b5dc34d6413" /> ### Workaround > [!TIP] > 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: > > ```bash > #!/bin/bash > > # Stop the docker services > echo "Stopping Docker..." > sudo pkill '[dD]ocker' > > # Stop the vmnetd service > echo "Stopping com.docker.vmnetd service..." > sudo launchctl bootout system /Library/LaunchDaemons/com.docker.vmnetd.plist > > # Stop the socket service > echo "Stopping com.docker.socket service..." > sudo launchctl bootout system /Library/LaunchDaemons/com.docker.socket.plist > > # Remove vmnetd binary > echo "Removing com.docker.vmnetd binary..." > sudo rm -f /Library/PrivilegedHelperTools/com.docker.vmnetd > > # Remove socket binary > echo "Removing com.docker.socket binary..." > sudo rm -f /Library/PrivilegedHelperTools/com.docker.socket > > # Install new binaries > echo "Install new binaries..." > sudo cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools/ > sudo cp /Applications/Docker.app/Contents/MacOS

Comments (0)

No comments yet. Start the discussion.

Comment on this issue