Browse By

Malware Blocked. “com.docker.socket” was not opened because it contains malware. this action did not harm your Mac.

Malware Blocked. “com.docker.socket” was not opened because it contains malware. this action did not harm your Mac.

If you are getting this error in you Mac then you can follow the below commands as a workaround. I validated them myself and I don’t have that issue any more:

sudo pkill '[dD]ocker'

sudo launchctl bootout system /Library/LaunchDaemons/com.docker.vmnetd.plist

sudo launchctl bootout system /Library/LaunchDaemons/com.docker.socket.plist

sudo rm -f /Library/PrivilegedHelperTools/com.docker.vmnetd

sudo rm -f /Library/PrivilegedHelperTools/com.docker.socket

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/

Leave a Reply

Your email address will not be published. Required fields are marked *