The Docker Desktop icon flashes on the dock briefly and it doesn’t launch. It crashes silently without any error messages on the screen. The com.docker.diagnose
tool is unable to diagnose from the terminal, the output of which has been attached below.
Output of /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check
➜ ~ /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check
Starting diagnostics
[PASS] DD0027: is there available disk space on the host?
[SKIP] DD0028: is there available VM disk space?
[FAIL] DD0031: does the Docker API work? Cannot connect to the Docker daemon at unix://docker.raw.sock. Is the docker daemon running?
[1] 3128 killed /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check
Output of /Applications/Docker.app/Contents/MacOS/com.docker.diagnose gather --upload
➜ ~ /Applications/Docker.app/Contents/MacOS/com.docker.diagnose gather --upload
Gathering diagnostics for ID 4DC1603E-1354-4CA3-BB31-4E0C839D67C2/20220819183640 into /var/folders/q1/9nwl1r8s4hgcp4q8_grx1kvmw56qkc/T/4DC1603E-1354-4CA3-BB31-4E0C839D67C2/20220819183640.zip.
This may take up to 15 minutes.
time="2022-08-20T00:06:40+05:30" level=info msg="Triggering Linux sysrq and log flushes via a unix socket: diagnosticd.sock" type=unixsock
time="2022-08-20T00:06:40+05:30" level=warning msg="/flush failed: Post "http://unix/flush": dial unix diagnosticd.sock: connect: no such file or directory" type=unixsock
[1] 3639 killed /Applications/Docker.app/Contents/MacOS/com.docker.diagnose gather --upload
Information
- macOS Version: 12.2.1
- Intel chip or Apple chip: Intel
- Docker Desktop Version: 4.11.1
3
Answers
I had same problem, I installed new version of docker and did the below. It worked for me.
TL;DR
RESTART YOUR MAC. This should solve your problem. (After installing Docker Desktop for Mac (https://www.docker.com/products/docker-desktop/))
I was struggling with this for quite some time. I downloaded Docker Desktop for Mac (using Catalina OS 10.15.7), but after installation, I would try to open it and nothing would happen.
Let me clarify, On the first time opening the app (from Applications folder), it would ask me to "allow" the application, but on every other attempt, a Docker Desktop process would start, but no GUI would open and the tray icon wouldn’t appear. After checking the Docker in Activity Monitor app, it would usually say "not responding".
After reading several articles and message boards, nothing helped. I finally decided to reset my Macbook Pro… wah-lah, problem solved. I don’t know why the installation process doesn’t prompt you to restart your Mac, but do it and it should solve your problem.
Restarting the Mac solved the issue.
[I tried to logout and login, but the restart only solved the issue.]