Created
February 11, 2025 16:29
-
-
Save sio2boss/13c7e2904e876ca67694bb0fe1e3eaa6 to your computer and use it in GitHub Desktop.
Goodbye Docker Desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## From https://github.com/docker/for-mac/issues/7567#issuecomment-2623286056 | |
# 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 "Remove Docker application..." | |
sudo rm -rf /Applications/Docker.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment