更新docker导致error during connect

docker更新后出现
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.39/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running
打开Hyper-v发现没有创建虚拟机

此时右键小鲸鱼
点击Switch to windows containers… 切换到windows后, docker可用
在此切换到linux依旧出现上述错误

花了两天终于找到原因了
我这里的问题是 hyper-v 网络冲突
更新docker导致error during connect
删除所有以hyper-v开头的网络
更新docker导致error during connect
重启电脑, 没有其他问题docker应该正常运行

我这还有其他问题.
重启后出现 Unable to create: 已停止该运行的命令,因为首选项变量“ErrorActionPreference”或通用参数设置为 Stop: 无法新建虚拟机。
我这是应为虚拟机目录问题,打开Hyper-v
更新docker导致error during connect
更新docker导致error during connect

我这里将目录修改为
C:\Users\Public\Documents\Hyper-V\Virtual hard disks

C:\Users\Public\Documents\Hyper-V
没有上述目录创建目录就好了
更新docker导致error during connect
在重新启动docker就ok了
此时默认虚拟机已创建出来