解决 Docker 启动报错

5 min read
1 error occurred:
	* forwarding 1655945024772495000 docker: starting (driver sent docker state starting)  to GUI: Post "http://ipc/docker": dial unix /Users/pan/Library/Containers/com.docker.docker/Data/backend.native.sock: connect: connection refused

解决办法

close docker-desktop
Install Docker RC1, assuming that installing rosetta is not neccessary
-> start failed with the problem mentioned above (start/stop-loop)
stop/kill all docker processes
delete Docker.app, ~/Library/Application Support/Docker Desktop, ~/Library/Caches/com.docker.cocker
reboot/restart
install DockerForMac Preview again
-> same issue as before
stop/kill all docker processes
run softwareupdate --install-rosetta (something happens, maybe an update)
-> run Docker.app again -> everything works!