I tried installing Docker Desktop using Docker Desktop for Mac (Intel Chip) and it failed with the following error:
Error invoking remote method 'desktop-go-backend': Error: {"message":"installing vmnetd: retrieving vmnetd version from /Library/LaunchDaemons/com.docker.vmnetd.plist: reading plist /Library/LaunchDaemons/com.docker.vmnetd.plist: open /Library/LaunchDaemons/com.docker.vmnetd.plist: no such file or directory\\ngithub.com/docker/pinata/mac/tools/install/privileged.getValueFromPlist\\n\\tgithub.com/docker/pinata/mac/tools/install/privileged/vmnetd.go:175\\ngithub.com/docker/pinata/mac/tools/install/privileged.setupVmnetd\\n\\tgithub.com/docker/pinata/mac/tools/install/privileged/vmnetd.go:85\\ngithub.com/docker/pinata/mac/tools/install/privileged.ApplyCustomConfiguration\\n\\tgithub.com/docker/pinata/mac/tools/install/privileged/privileged.go:137\\ngithub.com/docker/pinata/mac/tools/install/privileged.ConfigCmd.func1\\n\\tgithub.com/docker/pinata/mac/tools/install/privileged/privileged.go:59\\ngithub.com/spf13/cobra.(\*Command).execute\\n\\tgithub.com/spf13/cobra@v1.7.0/command.go:940\\ngithub.com/spf13/cobra.(\*Command).ExecuteC\\n\\tgithub.com/spf13/cobra@v1.7.0/command.go:1068\\ngithub.com/spf13/cobra.(\*Command).Execute\\n\\tgithub.com/spf13/cobra@v1.7.0/command.go:992\\nmain.main\\n\\tgithub.com/docker/pinata/mac/tools/install/main.go:185\\nruntime.main\\n\\truntime/proc.go:250\\nruntime.goexit\\n\\truntime/asm_amd64.s:1598\\ngithub.com/docker/pinata/mac/tools/install/privileged.setupVmnetd\\n\\tgithub.com/docker/pinata/mac/tools/install/privileged/vmnetd.go:87\\ngithub.com/docker/pinata/mac/tools/install/privileged.ApplyCustomConfiguration\\n\\tgithub.com/docker/pinata/mac/tools/install/privileged/privileged.go:137\\ngithub.com/docker/pinata/mac/tools/install/privileged.ConfigCmd.func1\\n\\tgithub.com/docker/pinata/mac/tools/install/privileged/privileged.go:59\\ngithub.com/spf13/cobra.(\*Command).execute\\n\\tgithub.com/spf13/cobra@v1.7.0/command.go:940\\ngithub.com/spf13/cobra.(\*Command).ExecuteC\\n\\tgithub.com/spf13/cobra@v1.7.0/command.go:1068\\ngithub.com/spf13/cobra.(\*Command).Execute\\n\\tgithub.com/spf13/cobra@v1.7.0/command.go:992\\nmain.main\\n\\tgithub.com/docker/pinata/mac/tools/install/main.go:185\\nruntime.main\\n\\truntime/proc.go:250\\nruntime.goexit\\n\\truntime/asm_amd64.s:1598"}
I tried uninstalling and re-installing Docker desktop for mac few times. It did not solve the problem. Then I found this answer - Unable to finish Docker Install on Mac book Error invoking remote method 'desktop-go-backend'
I tried the command - brew install --cask docker
It said the following error: there is already an App at '/Applications/Docker.app'.
I tried running command -
/Applications/Docker.app/Contents/MacOS/uninstall
and got zsh: no such file or directory: /Applications/Docker.app/Contents/MacOS/uninstall
I ran the commmand to check where is Docker installed
ls -ltrh /usr/local/bin/docker
lrwxr-xr-x 1 root admin 54B Jun 1 14:01 /usr/local/bin/docker -\> /Applications/Docker.app/Contents/Resources/bin/docker
I ran the command
rm -rf /Applications/Docker.app
to remove the Docker app, then I checked docker again with command
ls -ltrh /usr/local/bin/docker
and got
ls -ltrh /usr/local/bin/docker
lrwxr-xr-x 1 root admin 54B Jun 1 14:01 /usr/local/bin/docker -\> /Applications/Docker.app/Contents/Resources/bin/docker
Found all docker binaries (.venv) ➜ respell git:(master) ls -ltrh /usr/local/bin/docker\*
Ran the command to remove all docker binaries
Then ran the command - brew install --cask docker - again
This time I got the following error:
Error: It seems there is already a Binary at '/usr/local/bin/hub-tool'.
Again manually deleted the binary file
ls -ltrh /usr/local/bin/hub-tool
lrwxr-xr-x 1 root admin 56B Jun 1 14:01 /usr/local/bin/hub-tool -\> /Applications/Docker.app/Contents/Resources/bin/hub-tool
(.venv) ➜ respell git:(master) rm -rf /usr/local/bin/hub-tool
Tried running the command brew install --cask docker
again
This time got the error:
Error: It seems there is already a Binary at '/usr/local/bin/kubectl.docker'.
Again manually deleted the binary file
Ran the command brew install --cask docker
again
This time got the error:
Error: It seems there is already a Binary at '/usr/local/bin/vpnkit'.
Again manually deleted the binary file
Ran the command brew install --cask docker
again
This time got the error:
Error: It seems there is already a Binary at '/usr/local/bin/com.docker.cli'.
Again manually deleted the binary file