1. 去官网下载docker-desktop,https://www.docker.com/products/docker-desktop
2.安装 Hyper-V
1)检查是否支持Hyper-V
打开命令行,输入systeminfo,出现如下图说明系统支持hyper-v,如不支持忽略此步。


error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.39/info: 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.
解决方法,打开powershell,
输入cd "C:Program FilesDockerDocker",后再输入./DockerCli.exe -SwitchDaemon,重启cmd输入docker version,如果还出现上面问题,检查注册表的EditionID是否修改成功。