windows下Docker无法正常启动-The system cannot find the file specified
问题:
docker ps
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.
解决步骤:
步骤一 管理员权限运行PowerShell
步骤二 cd "C:\Program Files\Docker\Docker"
步骤三 ./DockerCli.exe -SwitchDaemon