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 directoryngithub.com/docker/pinata/mac/tools/install/privileged.getValueFromPlistntgithub.com/docker/pinata/mac/tools/install/privileged/vmnetd.go:175ngithub.com/docker/pinata/mac/tools/install/privileged.setupVmnetdntgithub.com/docker/pinata/mac/tools/install/privileged/vmnetd.go:85ngithub.com/docker/pinata/mac/tools/install/privileged.ApplyCustomConfigurationntgithub.com/docker/pinata/mac/tools/install/privileged/privileged.go:137ngithub.com/docker/pinata/mac/tools/install/privileged.ConfigCmd.func1ntgithub.com/docker/pinata/mac/tools/install/privileged/privileged.go:59ngithub.com/spf13/cobra.(*Command).executentgithub.com/spf13/[email protected]/command.go:940ngithub.com/spf13/cobra.(*Command).ExecuteCntgithub.com/spf13/[email protected]/command.go:1068ngithub.com/spf13/cobra.(*Command).Executentgithub.com/spf13/[email protected]/command.go:992nmain.mainntgithub.com/docker/pinata/mac/tools/install/main.go:185nruntime.mainntruntime/proc.go:250nruntime.goexitntruntime/asm_amd64.s:1598ngithub.com/docker/pinata/mac/tools/install/privileged.setupVmnetdntgithub.com/docker/pinata/mac/tools/install/privileged/vmnetd.go:87ngithub.com/docker/pinata/mac/tools/install/privileged.ApplyCustomConfigurationntgithub.com/docker/pinata/mac/tools/install/privileged/privileged.go:137ngithub.com/docker/pinata/mac/tools/install/privileged.ConfigCmd.func1ntgithub.com/docker/pinata/mac/tools/install/privileged/privileged.go:59ngithub.com/spf13/cobra.(*Command).executentgithub.com/spf13/[email protected]/command.go:940ngithub.com/spf13/cobra.(*Command).ExecuteCntgithub.com/spf13/[email protected]/command.go:1068ngithub.com/spf13/cobra.(*Command).Executentgithub.com/spf13/[email protected]/command.go:992nmain.mainntgithub.com/docker/pinata/mac/tools/install/main.go:185nruntime.mainntruntime/proc.go:250nruntime.goexitntruntime/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 got the 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
2
Answers
I had similar error:
Error: It seems there is already a Binary at '/usr/local/bin/docker-index'.
And the only file related to docker was docker-index,
So I renamed it:
Then reinstall:
brew reinstall --cask docker
Installed successfully: