I am currently running Mac OS Monterey version 12.3 on an Apple MacBook Pro 13-inch M1 2020 laptop and just upgraded to Docker Desktop for Mac 4.6.1. Docker Desktop hangs on starting. I have tried to:
- Restart the Mac, to no avail
- Use the troubleshooting page in Docker Desktop, but none of the options ‘Clean/Purge Data’, ‘Reset Factory Defaults’, and ‘Uninstall’ work. Even tried to stop Docker Desktop (had to use
killall Docker
in Terminal to do this) and the same options do not work. - Uninstalled Docker Desktop for Mac, after terminating all Docker processes via Activity Monitor and the command line, by binning the app and using the CLI to remove a number of Docker folders including all images and containers using various directions from elsewhere on the Internet. Reinstalled using 4.6.1. Even repeated with a downgrade to what was a working 4.6.0, but no luck, even on 4.6.0.
The self-diagnose tool produces the following output:
Starting diagnostics
[PASS] DD0027: is there available disk space on the host?
[PASS] DD0028: is there available VM disk space?
[FAIL] DD0031: does the Docker API work? Cannot connect to the Docker daemon at unix://Library/Containers/com.docker.docker/Data/docker.raw.sock. Is the docker daemon running?
[PASS] DD0004: is the Docker engine running?
[PASS] DD0011: are the LinuxKit services running?
[FAIL] DD0016: is the LinuxKit VM running? vm is not running: vm has not started
[PASS] DD0001: is the application running?
[PASS] DD0018: does the host support virtualization?
[FAIL] DD0017: can a VM be started? vm has not started: vm has not started
[PASS] DD0015: are the binary symlinks installed?
Error response from daemon: dial unix ~/Library/Containers/com.docker.docker/Data/docker.raw.sock: connect: no such file or directory
[FAIL] DD0003: is the Docker CLI working? exit status 1
[PASS] DD0013: is the $PATH ok?
[PASS] DD0007: is the backend responding?
[PASS] DD0014: are the backend processes running?
[PASS] DD0008: is the native API responding?
[PASS] DD0009: is the vpnkit API responding?
[PASS] DD0010: is the Docker API proxy responding?
[FAIL] DD0012: is the VM networking working? network checks failed: failed to ping host: exit status 1
[2022-03-24T10:51:48.688336000Z][com.docker.diagnose][I] ipc.NewClient: 59a0be7c-diagnose-network -> Library/Containers/com.docker.docker/Data/diagnosticd.sock diagnosticsd
[common/pkg/diagkit/gather/diagnose.runIsVMNetworkingOK()
[ common/pkg/diagkit/gather/diagnose/network.go:34 +0x130
[common/pkg/diagkit/gather/diagnose.(*test).GetResult(0x103c4cc20)
[ common/pkg/diagkit/gather/diagnose/test.go:46 +0x44
[common/pkg/diagkit/gather/diagnose.Run.func1(0x103c4cc20)
[ common/pkg/diagkit/gather/diagnose/run.go:17 +0x48
[common/pkg/diagkit/gather/diagnose.walkOnce.func1(0x1, 0x103c4cc20)
[ common/pkg/diagkit/gather/diagnose/run.go:140 +0xa0
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x1, 0x103c4cc20, 0x14000161818)
[ common/pkg/diagkit/gather/diagnose/run.go:146 +0x40
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x0, 0x103c4caa0, 0x14000161818)
[ common/pkg/diagkit/gather/diagnose/run.go:149 +0x80
[common/pkg/diagkit/gather/diagnose.walkOnce(0x103c4caa0, 0x140003df960)
[ common/pkg/diagkit/gather/diagnose/run.go:135 +0x90
[common/pkg/diagkit/gather/diagnose.Run(0x103c4caa0, 0x103c4cda0, {0x140003dfad8, 0x1, 0x1})
[ common/pkg/diagkit/gather/diagnose/run.go:16 +0x188
[main.checkCmd({0x14000032050, 0x0, 0x0}, {0x0, 0x0})
[ common/cmd/com.docker.diagnose/main.go:131 +0x114
[main.main()
[ common/cmd/com.docker.diagnose/main.go:97 +0x378
[2022-03-24T10:51:48.688454000Z][com.docker.diagnose][I] (8560a17d) 59a0be7c-diagnose-network C->S diagnosticsd POST /check-network-connectivity: {"ips":["192.168.0.31"]}
[2022-03-24T10:51:49.193149000Z][com.docker.diagnose][E] (8560a17d) 59a0be7c-diagnose-network C<-S c0154d2d-diagnosticsd POST /check-network-connectivity (504.713916ms): failed to ping host: exit status 1
[common/pkg/diagkit/gather/diagnose.runIsVMNetworkingOK()
[ common/pkg/diagkit/gather/diagnose/network.go:35 +0x1bc
[common/pkg/diagkit/gather/diagnose.(*test).GetResult(0x103c4cc20)
[ common/pkg/diagkit/gather/diagnose/test.go:46 +0x44
[common/pkg/diagkit/gather/diagnose.Run.func1(0x103c4cc20)
[ common/pkg/diagkit/gather/diagnose/run.go:17 +0x48
[common/pkg/diagkit/gather/diagnose.walkOnce.func1(0x1, 0x103c4cc20)
[ common/pkg/diagkit/gather/diagnose/run.go:140 +0xa0
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x1, 0x103c4cc20, 0x14000161818)
[ common/pkg/diagkit/gather/diagnose/run.go:146 +0x40
[common/pkg/diagkit/gather/diagnose.walkDepthFirst(0x0, 0x103c4caa0, 0x14000161818)
[ common/pkg/diagkit/gather/diagnose/run.go:149 +0x80
[common/pkg/diagkit/gather/diagnose.walkOnce(0x103c4caa0, 0x140003df960)
[ common/pkg/diagkit/gather/diagnose/run.go:135 +0x90
[common/pkg/diagkit/gather/diagnose.Run(0x103c4caa0, 0x103c4cda0, {0x140003dfad8, 0x1, 0x1})
[ common/pkg/diagkit/gather/diagnose/run.go:16 +0x188
[main.checkCmd({0x14000032050, 0x0, 0x0}, {0x0, 0x0})
[ common/cmd/com.docker.diagnose/main.go:131 +0x114
[main.main()
[ common/cmd/com.docker.diagnose/main.go:97 +0x378
[FAIL] DD0032: do Docker networks overlap with host IPs? Cannot connect to the Docker daemon at unix://Library/Containers/com.docker.docker/Data/docker.raw.sock. Is the docker daemon running?
[SKIP] DD0030: is the image access management authorized?
[PASS] DD0019: is the com.docker.vmnetd process responding?
[PASS] DD0033: does the host have Internet access?
Please investigate the following 1 issue:
1 : The test: can a VM be started?
Failed with: vm has not started: vm has not started
The Docker engine runs inside a Linux VM. Therefore we must be able to start Virtual Machines.
As a result, I am unable to use Docker. Has anyone got any idea how this issue may be resolved. Thank you in advance.