Windows系统安装Docker遇到
error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json: open //./pipe/docker_engine: The system cannot find the file specified.
解决方案一:
cd "C:\Program Files\Docker\Docker"
DockerCli.exe -SwitchDaemon
重启一下Docker
解决方案二:
在
Docker客户端
设置里面General
里面将Use Docker Compose V2
勾上即可,重启Docker