Docker windows 11 上 运行 没有守护进程

Docker Daemon not running on windows 11

我是 Docker 东西的初学者,我在 windows 11,每当我尝试打开 docker 桌面时,它都打不开。 总是出现此错误消息,每当我尝试 运行 docker psdocker images 或与 docker 相关的任何内容,它总是显示此错误 谁能帮忙

我已经打开了 hyper-v、wsl 等,但似乎没有任何效果

后面是 docker/for-win issue 12413, and (这表明 Windows 11 本身是全新安装的!)

目前只有 workaround(以避免重新安装 W11):

I tried reinstalling a couple times and different versions and nothing worked, the UI would just never show up.

The only solution really was to delete C:\Users\<username>\AppData\Roaming\Docker and C:\Users\<username>\AppData\Roaming\Docker Desktop.