There is an official response from Docker regarding attempts to resolve this issue, as well as suggested workarounds. The following is copied from the GitHub PR: https://github.com/docker/for-mac/issues/7520.
Note: While I cannot confirm if the creator of the PR represents Docker, the official Docker account references this PR on LinkedIn.
If you face this issue, try the following procedure:
Quit Docker Desktop and ensure no remaining Docker processes are running using the Activity Monitor.
Run the following commands:
#!/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 "Installing 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/
Restart Docker Desktop.
If that still doesn’t work, download one of the currently supported releases from the Release Notes and reapply step 2.
2
Answers
I solved extracting the
Docker.app
from the Docker.dmg after mounting it and copying it into /Applications/ usingAnother potential solution can be running the following command and dragging the Docker.app in /Applications/ again:
source
There is an official response from Docker regarding attempts to resolve this issue, as well as suggested workarounds. The following is copied from the GitHub PR: https://github.com/docker/for-mac/issues/7520.
Note: While I cannot confirm if the creator of the PR represents Docker, the official Docker account references this PR on LinkedIn.
If you face this issue, try the following procedure:
Quit Docker Desktop and ensure no remaining Docker processes are running using the Activity Monitor.
Run the following commands:
Restart Docker Desktop.
If that still doesn’t work, download one of the currently supported releases from the Release Notes and reapply step 2.