I am currently running Mac OS Sonoma version 14.5 on an Apple MacBook Pro 16-inch M2 Max 2023.
Docker Desktop hangs on starting shows for few secends docker desktop and switch directly into a white Window.
I tried:
restart
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.
Reinstalling over brew and .dmg (newest version and older Version)
The self-diagnose tool produces the following output:
[2024-08-07T14:07:38.594963000Z][com.docker.diagnose.ipc] c4e87e4f-diagnose -> <HOME>/Library/Containers/com.docker.docker/Data/backend.sock BackendAPI
[2024-08-07T14:07:38.595176000Z][com.docker.diagnose.ipc] (13059d0c) c4e87e4f-diagnose C->S BackendAPI POST /idle/make-busy
[2024-08-07T14:07:38.595402000Z][com.docker.diagnose.ipc][W] (13059d0c) c4e87e4f-diagnose C<-S NoResponse POST /idle/make-busy (221.875µs): Post "http://ipc/idle/make-busy": dial unix <HOME>/Library/Containers/com.docker.docker/Data/backend.sock: connect: connection refused
[2024-08-07T14:07:39.596503000Z][com.docker.diagnose.ipc] (13059d0c-3) c4e87e4f-diagnose C->S BackendAPI GET /idle
[2024-08-07T14:07:39.597216000Z][com.docker.diagnose.ipc][W] (13059d0c-3) c4e87e4f-diagnose C<-S NoResponse GET /idle (821.375µs): Get "http://ipc/idle": dial unix <HOME>/Library/Containers/com.docker.docker/Data/backend.sock: connect: connection refused
[2024-08-07T14:07:42.599585000Z][com.docker.diagnose.ipc] 9e8931e3-com.docker.diagnose -> <HOME>/Library/Containers/com.docker.docker/Data/dns-forwarder.sock dns-forwarder
[2024-08-07T14:07:42.599999000Z][com.docker.diagnose.ipc] (cff80bf0) 9e8931e3-com.docker.diagnose C->S dns-forwarder POST /diagnostics
[2024-08-07T14:07:42.600407000Z][com.docker.diagnose] Triggering Linux sysrq and log flushes via a unix socket: <HOME>/Library/Containers/com.docker.docker/Data/diagnosticd.sock
[2024-08-07T14:07:42.600935000Z][com.docker.diagnose][W] /flush failed: Post "http://unix/flush": dial unix <HOME>/Library/Containers/com.docker.docker/Data/diagnosticd.sock: connect: connection refused
[2024-08-07T14:07:42.601437000Z][com.docker.diagnose.ipc][W] (cff80bf0) 9e8931e3-com.docker.diagnose C<-S NoResponse POST /diagnostics (1.404667ms): Post "http://ipc/diagnostics": dial unix <HOME>/Library/Containers/com.docker.docker/Data/dns-forwarder.sock: connect: connection refused
[2024-08-07T14:07:42.601660000Z][com.docker.diagnose.ipc] (cff80bf0-1) 9e8931e3-com.docker.diagnose C->S dns-forwarder GET /ping
[2024-08-07T14:07:42.602531000Z][com.docker.diagnose.ipc][W] (cff80bf0-1) 9e8931e3-com.docker.diagnose C<-S NoResponse GET /ping (875.208µs): Get "http://ipc/ping": dial unix <HOME>/Library/Containers/com.docker.docker/Data/dns-forwarder.sock: connect: connection refused
unable to trigger dns-forwarder diagnostics: Post "http://ipc/diagnostics": dial unix /Users/dirkmaternus/Library/Containers/com.docker.docker/Data/dns-forwarder.sock: connect: connection refused
[2024-08-07T14:07:43.602933000Z][com.docker.diagnose][W] Cannot get VM settings: Disk file not found
[2024-08-07T14:07:43.603459000Z][com.docker.diagnose] Start gathering list of 98 elements
[2024-08-07T14:07:43.603615000Z][com.docker.diagnose] Gathering LifecycleServerGatherer
[2024-08-07T14:07:43.603618000Z][com.docker.diagnose] Gathering system
[2024-08-07T14:07:43.603750000Z][com.docker.diagnose.ipc] c9488bde-DiagkitPKG -> <HOME>/Library/Containers/com.docker.docker/Data/lifecycle-server.sock VMDockerdAPI
[2024-08-07T14:07:43.603842000Z][com.docker.diagnose.ipc] (c571f758) c9488bde-DiagkitPKG C->S VMDockerdAPI GET /goroutines/stacks
[2024-08-07T14:07:43.603632000Z][com.docker.diagnose] Gathering VirtualizationAPIGatherer
[2024-08-07T14:07:43.603922000Z][com.docker.diagnose.ipc] 238e5c4b-DiagkitPKG -> <HOME>/Library/Containers/com.docker.docker/Data/virtualization.sock Virtualization
[2024-08-07T14:07:43.604015000Z][com.docker.diagnose.ipc] (809cb2b8) 238e5c4b-DiagkitPKG C->S Virtualization GET /goroutines/stacks
[2024-08-07T14:07:43.603658000Z][com.docker.diagnose] Gathering BackendGatherer
[2024-08-07T14:07:43.604268000Z][com.docker.diagnose] Executing: [sw_vers -productVersion]
[2024-08-07T14:07:43.604315000Z][com.docker.diagnose.ipc][W] (c571f758) c9488bde-DiagkitPKG C<-S NoResponse GET /goroutines/stacks (478.625µs): Get "http://ipc/goroutines/stacks": dial unix <HOME>/Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: connection refused
[2024-08-07T14:07:43.604383000Z][com.docker.diagnose.ipc] (c571f758-1) c9488bde-DiagkitPKG C->S VMDockerdAPI GET /ping
[2024-08-07T14:07:43.604316000Z][com.docker.diagnose.ipc][W] (809cb2b8) 238e5c4b-DiagkitPKG C<-S NoResponse GET /goroutines/stacks (294.75µs): Get "http://ipc/goroutines/stacks": dial unix <HOME>/Library/Containers/com.docker.docker/Data/virtualization.sock: connect: no such file or directory
[2024-08-07T14:07:43.604700000Z][com.docker.diagnose.ipc] (809cb2b8-1) 238e5c4b-DiagkitPKG C->S Virtualization GET /ping
[2024-08-07T14:07:43.606782000Z][com.docker.diagnose.ipc][W] (c571f758-1) c9488bde-DiagkitPKG C<-S NoResponse GET /ping (2.354209ms): Get "http://ipc/ping": dial unix <HOME>/Library/Containers/com.docker.docker/Data/lifecycle-server.sock: connect: connection refused
[2024-08-07T14:07:43.607124000Z][com.docker.diagnose.ipc][W] (809cb2b8-1) 238e5c4b-DiagkitPKG C<-S NoResponse GET /ping (2.424333ms): Get "http://ipc/ping": dial unix <HOME>/Library/Containers/com.docker.docker/Data/virtualization.sock: connect: no such file or directory
[2024-08-07T14:07:43.623797000Z][com.docker.diagnose] Executing: [sw_vers -buildVersion]
[2024-08-07T14:07:43.634471000Z][com.docker.diagnose] Executing: [uname -r]
[2024-08-07T14:07:43.637226000Z][com.docker.diagnose] Executing: [sysctl kern.boottime]
[2024-08-07T14:07:43.639997000Z][com.docker.diagnose] Executing: [sysctl hw.memsize]
[2024-08-07T14:07:43.641833000Z][com.docker.diagnose] Gathering BackendGatherer took 37.574584ms
[2024-08-07T14:07:43.641910000Z][com.docker.diagnose] Gathering ProcessGatherer
[2024-08-07T14:07:43.642690000Z][com.docker.diagnose] Executing: [vm_stat]
[2024-08-07T14:07:43.645549000Z][com.docker.diagnose] Executing: [sysctl machdep.cpu]
[2024-08-07T14:07:43.648127000Z][com.docker.diagnose] Gathering system took 44.398958ms
[2024-08-07T14:07:43.648163000Z][com.docker.diagnose] Gathering uname -a (timeout 0s)
[2024-08-07T14:07:43.648354000Z][com.docker.diagnose] Executing: [uname -a]
[2024-08-07T14:07:43.650553000Z][com.docker.diagnose] Gathering uname -a (timeout 15s) took 2.369375ms
[2024-08-07T14:07:43.650603000Z][com.docker.diagnose] Gathering ps uax (timeout 0s)
[2024-08-07T14:07:43.650826000Z][com.docker.diagnose] Executing: [ps uax]
[2024-08-07T14:07:43.662758000Z][com.docker.diagnose] Gathering ProcessGatherer took 20.823167ms
[2024-08-07T14:07:43.662806000Z][com.docker.diagnose] Gathering dmesg (timeout 0s)
[2024-08-07T14:07:43.663254000Z][com.docker.diagnose] Executing: [dmesg]
[2024-08-07T14:07:43.665596000Z][com.docker.diagnose] Gathering dmesg (timeout 15s) took 2.77075ms
[2024-08-07T14:07:43.665646000Z][com.docker.diagnose] Gathering id (timeout 0s)
[2024-08-07T14:07:43.665893000Z][com.docker.diagnose] Executing: [id]
[2024-08-07T14:07:43.670812000Z][com.docker.diagnose] Gathering id (timeout 15s) took 5.149917ms
[2024-08-07T14:07:43.670849000Z][com.docker.diagnose] Gathering sysctl -a (timeout 0s)
[2024-08-07T14:07:43.671622000Z][com.docker.diagnose] Executing: [sysctl -a]
[2024-08-07T14:07:43.686091000Z][com.docker.diagnose] Gathering sysctl -a (timeout 15s) took 15.224792ms
[2024-08-07T14:07:43.686153000Z][com.docker.diagnose] Gathering mount (timeout 0s)
[2024-08-07T14:07:43.688064000Z][com.docker.diagnose] Executing: [mount]
[2024-08-07T14:07:43.692053000Z][com.docker.diagnose] Gathering mount (timeout 15s) took 5.887834ms
[2024-08-07T14:07:43.692080000Z][com.docker.diagnose] Gathering df -h (timeout 0s)
[2024-08-07T14:07:43.692306000Z][com.docker.diagnose] Executing: [df -h]
[2024-08-07T14:07:43.694571000Z][com.docker.diagnose] Gathering df -h (timeout 15s) took 2.477708ms
[2024-08-07T14:07:43.694594000Z][com.docker.diagnose] Gathering launchctl print-disabled system (timeout 0s)
[2024-08-07T14:07:43.694797000Z][com.docker.diagnose] Executing: [launchctl print-disabled system]
[2024-08-07T14:07:43.697331000Z][com.docker.diagnose] Gathering launchctl print-disabled system (timeout 15s) took 2.721208ms
[2024-08-07T14:07:43.697385000Z][com.docker.diagnose] Gathering system_profiler SPHardwareDataType (timeout 0s)
[2024-08-07T14:07:43.697814000Z][com.docker.diagnose] Executing: [system_profiler SPHardwareDataType]
[2024-08-07T14:07:43.710881000Z][com.docker.diagnose] Gathering ps uax (timeout 15s) took 60.2525ms
[2024-08-07T14:07:43.710930000Z][com.docker.diagnose] Gathering defaults read /Library/Preferences/com.apple.alf.plist (timeout 0s)
[2024-08-07T14:07:43.711814000Z][com.docker.diagnose] Executing: [defaults read /Library/Preferences/com.apple.alf.plist]
[2024-08-07T14:07:43.716583000Z][com.docker.diagnose] Gathering defaults read /Library/Preferences/com.apple.alf.plist (timeout 15s) took 5.632416ms
[2024-08-07T14:07:43.716613000Z][com.docker.diagnose] Gathering kextstat (timeout 0s)
[2024-08-07T14:07:43.716836000Z][com.docker.diagnose] Executing: [kextstat]
[2024-08-07T14:07:43.776233000Z][com.docker.diagnose] Gathering system_profiler SPHardwareDataType (timeout 15s) took 78.830583ms
[2024-08-07T14:07:43.776288000Z][com.docker.diagnose] Gathering ifconfig -a -v (timeout 0s)
[2024-08-07T14:07:43.776486000Z][com.docker.diagnose] Executing: [ifconfig -a -v]
[2024-08-07T14:07:43.781062000Z][com.docker.diagnose] Gathering ifconfig -a -v (timeout 15s) took 4.752625ms
[2024-08-07T14:07:43.781125000Z][com.docker.diagnose] Gathering netstat -lna (timeout 0s)
[2024-08-07T14:07:43.782166000Z][com.docker.diagnose] Executing: [netstat -lna]
[2024-08-07T14:07:43.785343000Z][com.docker.diagnose] Gathering netstat -lna (timeout 15s) took 4.195917ms
[2024-08-07T14:07:43.785383000Z][com.docker.diagnose] Gathering netstat -mm (timeout 0s)
[2024-08-07T14:07:43.788396000Z][com.docker.diagnose] Executing: [netstat -mm]
[2024-08-07T14:07:43.790076000Z][com.docker.diagnose] Gathering netstat -mm (timeout 15s) took 4.6795ms
[2024-08-07T14:07:43.790101000Z][com.docker.diagnose] Gathering netstat -nr (timeout 0s)
[2024-08-07T14:07:43.790295000Z][com.docker.diagnose] Executing: [netstat -nr]
[2024-08-07T14:07:43.794527000Z][com.docker.diagnose] Gathering netstat -nr (timeout 15s) took 4.416792ms
[2024-08-07T14:07:43.794553000Z][com.docker.diagnose] Gathering /etc/resolv.conf
[2024-08-07T14:07:43.794574000Z][com.docker.diagnose] Gathering: /etc/resolv.conf
[2024-08-07T14:07:43.795376000Z][com.docker.diagnose] Gathering /etc/resolv.conf took 815.625µs
[2024-08-07T14:07:43.795385000Z][com.docker.diagnose] Gathering /etc/hosts
[2024-08-07T14:07:43.795399000Z][com.docker.diagnose] Gathering: /etc/hosts
[2024-08-07T14:07:43.795538000Z][com.docker.diagnose] Gathering /etc/hosts took 143.791µs
[2024-08-07T14:07:43.795547000Z][com.docker.diagnose] Gathering scutil --dns (timeout 0s)
[2024-08-07T14:07:43.796400000Z][com.docker.diagnose] Executing: [scutil --dns]
[2024-08-07T14:07:43.799774000Z][com.docker.diagnose] Gathering scutil --dns (timeout 15s) took 4.202458ms
[2024-08-07T14:07:43.799804000Z][com.docker.diagnose] Gathering scutil --nc list (timeout 0s)
[2024-08-07T14:07:43.799985000Z][com.docker.diagnose] Executing: [scutil --nc list]
[2024-08-07T14:07:43.811415000Z][com.docker.diagnose] Gathering scutil --nc list (timeout 15s) took 11.595875ms
[2024-08-07T14:07:43.811446000Z][com.docker.diagnose] Gathering scutil --proxy list (timeout 0s)
[2024-08-07T14:07:43.811592000Z][com.docker.diagnose] Executing: [scutil --proxy list]
[2024-08-07T14:07:43.816085000Z][com.docker.diagnose] Gathering scutil --proxy list (timeout 15s) took 4.620792ms
[2024-08-07T14:07:43.816112000Z][com.docker.diagnose] Gathering system_profiler SPFirewallDataType (timeout 0s)
[2024-08-07T14:07:43.816293000Z][com.docker.diagnose] Executing: [system_profiler SPFirewallDataType]
[2024-08-07T14:07:43.881559000Z][com.docker.diagnose] Gathering system_profiler SPFirewallDataType (timeout 15s) took 65.425583ms
[2024-08-07T14:07:43.881598000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/version
[2024-08-07T14:07:43.881611000Z][com.docker.diagnose] HTTP GET: localhost /v1.43/version
[2024-08-07T14:07:43.881751000Z][com.docker.diagnose][W] Get "http://localhost/v1.43/version": dial unix <HOME>/Library/Containers/com.docker.docker/Data/docker.raw.sock: connect: connection refused
[2024-08-07T14:07:43.881928000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/version took 315.584µs
[2024-08-07T14:07:43.881941000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/info
[2024-08-07T14:07:43.881949000Z][com.docker.diagnose] HTTP GET: localhost /v1.43/info
[2024-08-07T14:07:43.881990000Z][com.docker.diagnose][W] Get "http://localhost/v1.43/info": dial unix <HOME>/Library/Containers/com.docker.docker/Data/docker.raw.sock: connect: connection refused
[2024-08-07T14:07:43.882616000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/info took 666.583µs
[2024-08-07T14:07:43.882629000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/containers/json?all=1
[2024-08-07T14:07:43.882641000Z][com.docker.diagnose] HTTP GET: localhost /v1.43/containers/json?all=1
[2024-08-07T14:07:43.882700000Z][com.docker.diagnose][W] Get "http://localhost/v1.43/containers/json?all=1": dial unix <HOME>/Library/Containers/com.docker.docker/Data/docker.raw.sock: connect: connection refused
[2024-08-07T14:07:43.882942000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/containers/json?all=1 took 295.583µs
[2024-08-07T14:07:43.883080000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/nodes
[2024-08-07T14:07:43.883094000Z][com.docker.diagnose] HTTP GET: localhost /v1.43/nodes
[2024-08-07T14:07:43.883160000Z][com.docker.diagnose][W] Get "http://localhost/v1.43/nodes": dial unix <HOME>/Library/Containers/com.docker.docker/Data/docker.raw.sock: connect: connection refused
[2024-08-07T14:07:43.883295000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/nodes took 202.042µs
[2024-08-07T14:07:43.883304000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/services
[2024-08-07T14:07:43.883313000Z][com.docker.diagnose] HTTP GET: localhost /v1.43/services
[2024-08-07T14:07:43.883346000Z][com.docker.diagnose][W] Get "http://localhost/v1.43/services": dial unix <HOME>/Library/Containers/com.docker.docker/Data/docker.raw.sock: connect: connection refused
[2024-08-07T14:07:43.883485000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/services took 172.792µs
[2024-08-07T14:07:43.883493000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/networks
[2024-08-07T14:07:43.883500000Z][com.docker.diagnose] HTTP GET: localhost /v1.43/networks
[2024-08-07T14:07:43.883529000Z][com.docker.diagnose][W] Get "http://localhost/v1.43/networks": dial unix <HOME>/Library/Containers/com.docker.docker/Data/docker.raw.sock: connect: connection refused
[2024-08-07T14:07:43.883652000Z][com.docker.diagnose] Gathering HTTP GET localhost /v1.43/networks took 152.583µs
[2024-08-07T14:07:43.883661000Z][com.docker.diagnose] Gathering docker context ls (timeout 5s)
[2024-08-07T14:07:43.883808000Z][com.docker.diagnose] Executing: [docker context ls]
[2024-08-07T14:07:43.921157000Z][com.docker.diagnose] Gathering kextstat (timeout 15s) took 204.523583ms
[2024-08-07T14:07:43.921178000Z][com.docker.diagnose] Gathering docker context inspect default (timeout 5s)
[2024-08-07T14:07:43.921345000Z][com.docker.diagnose] Executing: [docker context inspect default]
[2024-08-07T14:07:43.996044000Z][com.docker.diagnose] Gathering docker context ls (timeout 5s) took 112.364792ms
[2024-08-07T14:07:43.996096000Z][com.docker.diagnose] Gathering docker context inspect desktop-linux (timeout 5s)
[2024-08-07T14:07:43.997010000Z][com.docker.diagnose] Executing: [docker context inspect desktop-linux]
[2024-08-07T14:07:44.032818000Z][com.docker.diagnose] Gathering docker context inspect default (timeout 5s) took 111.619416ms
[2024-08-07T14:07:44.032871000Z][com.docker.diagnose] Gathering docker context inspect desktop-windows (timeout 5s)
[2024-08-07T14:07:44.033065000Z][com.docker.diagnose] Executing: [docker context inspect desktop-windows]
[2024-08-07T14:07:44.110839000Z][com.docker.diagnose] Gathering docker context inspect desktop-linux (timeout 5s) took 114.706208ms
[2024-08-07T14:07:44.110979000Z][com.docker.diagnose] Gathering {
"id": "FFDACED9-4D12-48CF-8D3C-65E0BC0F4403",
"date": "2024-08-07 14:07:43.602 +0000 UTC"
}
[2024-08-07T14:07:44.126834000Z][com.docker.diagnose][W] Could not get HyperKit version: fork/exec /Applications/Docker.app/Contents/Resources/bin/com.docker.hyperkit: no such file or directory
[2024-08-07T14:07:44.127323000Z][com.docker.diagnose] Gathering {
"id": "FFDACED9-4D12-48CF-8D3C-65E0BC0F4403",
"date": "2024-08-07 14:07:43.602 +0000 UTC"
}
took 16.315583ms
As a result, i am unable to use Docker.
Has anyone got any idea how this may be resolved
Thank you in advance