Docker Desktop 오류. docker 사용자의 컴퓨터를 손상시킵니다.

2025. 1. 10. 22:50BE/Docker

갑자기 맥에서 아래의 오류가 발생했다.

공식 릴리즈 노트를 통해 해결할 수 있다.

https://docs.docker.com/desktop/release-notes/#4372

 

Release notes

Find the Docker Desktop release notes for Mac, Linux, and Windows.

docs.docker.com

https://github.com/docker/for-mac/issues/7527

 

Malware detection prevents Docker Desktop to start · Issue #7527 · docker/for-mac

Description Some versions of Docker Desktop might fail to start or function with the following error message: Malware Blocked. “com.docker.vmnetd” was not opened because it contains malware. This a...

github.com

#!/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/com.docker.socket /Library/PrivilegedHelperTools/