Hacker News new | past | comments | ask | show | jobs | submit login

Reminds me when I wrote this script to solve Docker's weird thing it does with virtualization on macOS sometimes. You need to completely remove anything Docker ,reinstall it, then shuffle some files around.

```

brew remove docker

brew remove docker-compose

brew remove docker-completion

brew remove docker-buildx

brew remove --cask docker

brew install --cask docker --force

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/

```




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: