PS C:\WINDOWS\system32> docker run hello-world
docker: error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/create: open //./pipe/docker_engine: The system cannot find the file specified.
See ‘docker run --help’.
需要改为:
cd "C:\Program Files\Docker\Docker"
./DockerCli.exe -SwitchDaemon